DEBUG: Executing shell function do_compile
NOTE: make -j 30 -l 45.0 -l 45.0
TOPDIR/build/tmpfs/hosttools/grep -E 'PACKAGE|VERSION|GVPLUGIN' config.h > ./graphviz_version.h
make all-recursive
make[1]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1'
Making all in libltdl
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
make all-am
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o lt__strl.lo lt__strl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt__strl.c -fPIC -DPIC -o .libs/lt__strl.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-slist.lo `test -f 'slist.c' || echo './'`slist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c slist.c -fPIC -DPIC -o .libs/libltdlc_la-slist.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ltdl.c -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt_error.c -fPIC -DPIC -o .libs/libltdlc_la-lt_error.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt_dlloader.c -fPIC -DPIC -o .libs/libltdlc_la-lt_dlloader.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt__alloc.c -fPIC -DPIC -o .libs/libltdlc_la-lt__alloc.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o loaders/dlopen.lo loaders/dlopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c loaders/dlopen.c -fPIC -DPIC -o loaders/.libs/dlopen.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o loaders/libltdlc_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c loaders/preopen.c -fPIC -DPIC -o loaders/.libs/libltdlc_la-preopen.o
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -module -avoid-version -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o dlopen.la loaders/dlopen.lo -ldl
x86_64-linux-libtool: link: ar cru .libs/dlopen.a loaders/.libs/dlopen.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/dlopen.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -no-undefined -dlpreopen dlopen.la -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o libltdlc.la loaders/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 lt__strl.lo
x86_64-linux-libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT
x86_64-linux-libtool: link: rm -f ".libs/libltdlc.nmI"
x86_64-linux-libtool: link: (cd .libs && gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -fno-builtin -fPIC -DPIC "libltdlcS.c")
x86_64-linux-libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT" ".libs/libltdlc.nmI"
x86_64-linux-libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl/./.libs/dlopen.a")
x86_64-linux-libtool: link: ar cru .libs/libltdlc.a loaders/.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/lt__strl.o .libs/libltdlcS.o .libs/libltdlc.lax/dlopen.a/dlopen.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libltdlc.a
x86_64-linux-libtool: link: rm -fr .libs/libltdlc.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
Making all in lib
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
Making all in cdt
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtclose.lo dtclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtclose.c -fPIC -DPIC -o .libs/dtclose.o
groff -Tps -man ./cdt.3 | false - - >cdt.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1110: recipe for target 'cdt.3.pdf' failed
make[3]: [cdt.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtwalk.lo dtwalk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtwalk.c -fPIC -DPIC -o .libs/dtwalk.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtview.lo dtview.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtview.c -fPIC -DPIC -o .libs/dtview.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dttreeset.lo dttreeset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dttreeset.c -fPIC -DPIC -o .libs/dttreeset.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dttree.lo dttree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dttree.c -fPIC -DPIC -o .libs/dttree.o
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)) )
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtstrhash.lo dtstrhash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtstrhash.c -fPIC -DPIC -o .libs/dtstrhash.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtstat.lo dtstat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtstat.c -fPIC -DPIC -o .libs/dtstat.o
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))) )
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtsize.lo dtsize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtsize.c -fPIC -DPIC -o .libs/dtsize.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtrestore.lo dtrestore.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtrestore.c -fPIC -DPIC -o .libs/dtrestore.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtrenew.lo dtrenew.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtrenew.c -fPIC -DPIC -o .libs/dtrenew.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtopen.lo dtopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtopen.c -fPIC -DPIC -o .libs/dtopen.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtmethod.lo dtmethod.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtmethod.c -fPIC -DPIC -o .libs/dtmethod.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtlist.lo dtlist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtlist.c -fPIC -DPIC -o .libs/dtlist.o
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)) )
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dthash.lo dthash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dthash.c -fPIC -DPIC -o .libs/dthash.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtflatten.lo dtflatten.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtflatten.c -fPIC -DPIC -o .libs/dtflatten.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtextract.lo dtextract.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtextract.c -fPIC -DPIC -o .libs/dtextract.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtdisc.lo dtdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtdisc.c -fPIC -DPIC -o .libs/dtdisc.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "5:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcdt.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib dtclose.lo dtdisc.lo dtextract.lo dtflatten.lo dthash.lo dtlist.lo dtmethod.lo dtopen.lo dtrenew.lo dtrestore.lo dtsize.lo dtstat.lo dtstrhash.lo dttree.lo dttreeset.lo dtview.lo dtwalk.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/dtclose.o .libs/dtdisc.o .libs/dtextract.o .libs/dtflatten.o .libs/dthash.o .libs/dtlist.o .libs/dtmethod.o .libs/dtopen.o .libs/dtrenew.o .libs/dtrestore.o .libs/dtsize.o .libs/dtstat.o .libs/dtstrhash.o .libs/dttree.o .libs/dttreeset.o .libs/dtview.o .libs/dtwalk.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libcdt.so.5 -o .libs/libcdt.so.5.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcdt.so.5" && ln -s "libcdt.so.5.0.0" "libcdt.so.5")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcdt.so" && ln -s "libcdt.so.5.0.0" "libcdt.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcdt.la" && ln -s "../libcdt.la" "libcdt.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcdt_C.la dtclose.lo dtdisc.lo dtextract.lo dtflatten.lo dthash.lo dtlist.lo dtmethod.lo dtopen.lo dtrenew.lo dtrestore.lo dtsize.lo dtstat.lo dtstrhash.lo dttree.lo dttreeset.lo dtview.lo dtwalk.lo
x86_64-linux-libtool: link: ar cru .libs/libcdt_C.a .libs/dtclose.o .libs/dtdisc.o .libs/dtextract.o .libs/dtflatten.o .libs/dthash.o .libs/dtlist.o .libs/dtmethod.o .libs/dtopen.o .libs/dtrenew.o .libs/dtrestore.o .libs/dtsize.o .libs/dtstat.o .libs/dtstrhash.o .libs/dttree.o .libs/dttreeset.o .libs/dtview.o .libs/dtwalk.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcdt_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcdt_C.la" && ln -s "../libcdt_C.la" "libcdt_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt'
Making all in cgraph
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o agerror.lo agerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c agerror.c -fPIC -DPIC -o .libs/agerror.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groff -Tps -man ./cgraph.3 | false - - >cgraph.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1177: recipe for target 'cgraph.3.pdf' failed
make[3]: [cgraph.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o write.lo write.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c write.c -fPIC -DPIC -o .libs/write.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o utils.lo utils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c utils.c -fPIC -DPIC -o .libs/utils.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o subg.lo subg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c subg.c -fPIC -DPIC -o .libs/subg.o
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);
^
flex -i ../../lib/cgraph/scan.l
sed "s/yy/aag/g" < lex.yy.c | sed '/extern.*isatty/d' > scan.c
rm lex.yy.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o refstr.lo refstr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c refstr.c -fPIC -DPIC -o .libs/refstr.o
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);
~~~~~~~~~~~~~^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rec.lo rec.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rec.c -fPIC -DPIC -o .libs/rec.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pend.lo pend.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pend.c -fPIC -DPIC -o .libs/pend.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o obj.lo obj.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c obj.c -fPIC -DPIC -o .libs/obj.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node.lo node.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node.c -fPIC -DPIC -o .libs/node.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mem.lo mem.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mem.c -fPIC -DPIC -o .libs/mem.o
mem.c: In function ‘memopen’:
mem.c:17:32: warning: unused parameter ‘disc’ [-Wunused-parameter]
static void *memopen(Agdisc_t* disc)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o io.lo io.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c io.c -fPIC -DPIC -o .libs/io.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o imap.lo imap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c imap.c -fPIC -DPIC -o .libs/imap.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o id.lo id.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c id.c -fPIC -DPIC -o .libs/id.o
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);
^~~~~~
bison -y -dv ../../lib/cgraph/grammar.y
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o graph.lo graph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c graph.c -fPIC -DPIC -o .libs/graph.o
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)
^~~~~~~
sed "s/yy/aag/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > grammar.h
sed "s/yy/aag/g" < y.tab.c | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > grammar.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o scan.lo scan.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c scan.c -fPIC -DPIC -o .libs/scan.o
../../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--) {
^~~~~~~
../../lib/cgraph/scan.l: In function ‘aaglex’:
lex.aag.c:185: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:1272:8: warning: switch missing default case [-Wswitch-default]
lex.aag.c: In function ‘aag_get_next_buffer’:
lex.aag.c:279:34: warning: conversion to ‘int’ from ‘aag_size_t {aka long unsigned int}’ may alter its value [-Wconversion]
lex.aag.c:1388:4: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
lex.aag.c:279:34: warning: conversion to ‘int’ from ‘aag_size_t {aka long unsigned int}’ may alter its value [-Wconversion]
lex.aag.c:1422:18: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
../../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:1431: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:1431:3: note: in expansion of macro ‘YY_INPUT’
lex.aag.c: In function ‘input’:
lex.aag.c:1596: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:1599:4: warning: switch missing default case [-Wswitch-default]
../../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:1576:16: warning: ‘input’ defined but not used [-Wunused-function]
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o grammar.lo grammar.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c grammar.c -fPIC -DPIC -o .libs/grammar.o
../../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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o flatten.lo flatten.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c flatten.c -fPIC -DPIC -o .libs/flatten.o
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)
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edge.lo edge.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edge.c -fPIC -DPIC -o .libs/edge.o
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)
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o attr.lo attr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c attr.c -fPIC -DPIC -o .libs/attr.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o apply.lo apply.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c apply.c -fPIC -DPIC -o .libs/apply.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o agxbuf.lo agxbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c agxbuf.c -fPIC -DPIC -o .libs/agxbuf.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "6:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcgraph.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/agerror.o .libs/agxbuf.o .libs/apply.o .libs/attr.o .libs/edge.o .libs/flatten.o .libs/graph.o .libs/grammar.o .libs/id.o .libs/imap.o .libs/io.o .libs/mem.o .libs/node.o .libs/obj.o .libs/pend.o .libs/rec.o .libs/refstr.o .libs/scan.o .libs/subg.o .libs/utils.o .libs/write.o -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/cdt/.libs/libcdt.so -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libcgraph.so.6 -o .libs/libcgraph.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcgraph.so.6" && ln -s "libcgraph.so.6.0.0" "libcgraph.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcgraph.so" && ln -s "libcgraph.so.6.0.0" "libcgraph.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcgraph.la" && ln -s "../libcgraph.la" "libcgraph.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcgraph_C.la 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
x86_64-linux-libtool: link: ar cru .libs/libcgraph_C.a .libs/agerror.o .libs/agxbuf.o .libs/apply.o .libs/attr.o .libs/edge.o .libs/flatten.o .libs/graph.o .libs/grammar.o .libs/id.o .libs/imap.o .libs/io.o .libs/mem.o .libs/node.o .libs/obj.o .libs/pend.o .libs/rec.o .libs/refstr.o .libs/scan.o .libs/subg.o .libs/utils.o .libs/write.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcgraph_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcgraph_C.la" && ln -s "../libcgraph_C.la" "libcgraph_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph'
Making all in pathplan
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o cvt.lo cvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c cvt.c -fPIC -DPIC -o .libs/cvt.o
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));
^
groff -Tps -man ./pathplan.3 | false - - >pathplan.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1078: recipe for target 'pathplan.3.pdf' failed
make[3]: [pathplan.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o visibility.lo visibility.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c visibility.c -fPIC -DPIC -o .libs/visibility.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o util.lo util.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c util.c -fPIC -DPIC -o .libs/util.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o triang.lo triang.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c triang.c -fPIC -DPIC -o .libs/triang.o
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 *));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o solvers.lo solvers.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c solvers.c -fPIC -DPIC -o .libs/solvers.o
solvers.c: In function ‘solve2’:
solvers.c:90:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
else if (disc == 0) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shortestpth.lo shortestpth.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shortestpth.c -fPIC -DPIC -o .libs/shortestpth.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shortest.lo shortest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shortest.c -fPIC -DPIC -o .libs/shortest.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o route.lo route.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o inpoly.lo inpoly.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c route.c -fPIC -DPIC -o .libs/route.o
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c inpoly.c -fPIC -DPIC -o .libs/inpoly.o
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))) {
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "4:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpathplan.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib cvt.lo inpoly.lo route.lo shortest.lo shortestpth.lo solvers.lo triang.lo util.lo visibility.lo -lm
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/cvt.o .libs/inpoly.o .libs/route.o .libs/shortest.o .libs/shortestpth.o .libs/solvers.o .libs/triang.o .libs/util.o .libs/visibility.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libpathplan.so.4 -o .libs/libpathplan.so.4.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libpathplan.so.4" && ln -s "libpathplan.so.4.0.0" "libpathplan.so.4")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libpathplan.so" && ln -s "libpathplan.so.4.0.0" "libpathplan.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpathplan.la" && ln -s "../libpathplan.la" "libpathplan.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpathplan_C.la cvt.lo inpoly.lo route.lo shortest.lo shortestpth.lo solvers.lo triang.lo util.lo visibility.lo
x86_64-linux-libtool: link: ar cru .libs/libpathplan_C.a .libs/cvt.o .libs/inpoly.o .libs/route.o .libs/shortest.o .libs/shortestpth.o .libs/solvers.o .libs/triang.o .libs/util.o .libs/visibility.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpathplan_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpathplan_C.la" && ln -s "../libpathplan_C.la" "libpathplan_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan'
Making all in sfio
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
Making all in Sfio_f
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio/Sfio_f'
mkdir -p ../../../FEATURE
../../../iffe - set cc gcc : run ../../../lib/sfio/features/sfio > ../../../FEATURE/sfio
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfclrerr.lo _sfclrerr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfclrerr.c -fPIC -DPIC -o .libs/_sfclrerr.o
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);
^~~~~~~~~~~
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfvalue.lo _sfvalue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfvalue.c -fPIC -DPIC -o .libs/_sfvalue.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfulen.lo _sfulen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfulen.c -fPIC -DPIC -o .libs/_sfulen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfstacked.lo _sfstacked.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfstacked.c -fPIC -DPIC -o .libs/_sfstacked.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfslen.lo _sfslen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfslen.c -fPIC -DPIC -o .libs/_sfslen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputu.lo _sfputu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputu.c -fPIC -DPIC -o .libs/_sfputu.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputm.lo _sfputm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputm.c -fPIC -DPIC -o .libs/_sfputm.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputl.lo _sfputl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputl.c -fPIC -DPIC -o .libs/_sfputl.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputd.lo _sfputd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputd.c -fPIC -DPIC -o .libs/_sfputd.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputc.lo _sfputc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputc.c -fPIC -DPIC -o .libs/_sfputc.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfllen.lo _sfllen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfllen.c -fPIC -DPIC -o .libs/_sfllen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfgetc.lo _sfgetc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfgetc.c -fPIC -DPIC -o .libs/_sfgetc.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sffileno.lo _sffileno.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sffileno.c -fPIC -DPIC -o .libs/_sffileno.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sferror.lo _sferror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sferror.c -fPIC -DPIC -o .libs/_sferror.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfeof.lo _sfeof.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfeof.c -fPIC -DPIC -o .libs/_sfeof.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfdlen.lo _sfdlen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfdlen.c -fPIC -DPIC -o .libs/_sfdlen.o
../../../x86_64-linux-libtool --tag=CC --mode=link gcc -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfiof_C.la _sfclrerr.lo _sfdlen.lo _sfeof.lo _sferror.lo _sffileno.lo _sfgetc.lo _sfllen.lo _sfputc.lo _sfputd.lo _sfputl.lo _sfputm.lo _sfputu.lo _sfslen.lo _sfstacked.lo _sfulen.lo _sfvalue.lo
x86_64-linux-libtool: link: ar cru .libs/libsfiof_C.a .libs/_sfclrerr.o .libs/_sfdlen.o .libs/_sfeof.o .libs/_sferror.o .libs/_sffileno.o .libs/_sfgetc.o .libs/_sfllen.o .libs/_sfputc.o .libs/_sfputd.o .libs/_sfputl.o .libs/_sfputm.o .libs/_sfputu.o .libs/_sfslen.o .libs/_sfstacked.o .libs/_sfulen.o .libs/_sfvalue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfiof_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfiof_C.la" && ln -s "../libsfiof_C.la" "libsfiof_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio/Sfio_f'
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfclose.lo sfclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfclose.c -fPIC -DPIC -o .libs/sfclose.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfprints.lo sfprints.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfprints.c -fPIC -DPIC -o .libs/sfprints.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpurge.lo sfpurge.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpurge.c -fPIC -DPIC -o .libs/sfpurge.o
sfpurge.c: In function ‘sfpurge’:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputd.lo sfputd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputd.c -fPIC -DPIC -o .libs/sfputd.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputl.lo sfputl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputl.c -fPIC -DPIC -o .libs/sfputl.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputm.lo sfputm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputm.c -fPIC -DPIC -o .libs/sfputm.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputr.lo sfputr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputr.c -fPIC -DPIC -o .libs/sfputr.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputu.lo sfputu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputu.c -fPIC -DPIC -o .libs/sfputu.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfraise.lo sfraise.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfraise.c -fPIC -DPIC -o .libs/sfraise.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfrd.lo sfrd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfrd.c -fPIC -DPIC -o .libs/sfrd.o
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: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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfread.lo sfread.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfread.c -fPIC -DPIC -o .libs/sfread.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfreserve.lo sfreserve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfreserve.c -fPIC -DPIC -o .libs/sfreserve.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfresize.lo sfresize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfresize.c -fPIC -DPIC -o .libs/sfresize.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfscanf.lo sfscanf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfscanf.c -fPIC -DPIC -o .libs/sfscanf.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfseek.lo sfseek.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfseek.c -fPIC -DPIC -o .libs/sfseek.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfset.lo sfset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfset.c -fPIC -DPIC -o .libs/sfset.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsetbuf.lo sfsetbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsetbuf.c -fPIC -DPIC -o .libs/sfsetbuf.o
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: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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsetfd.lo sfsetfd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsetfd.c -fPIC -DPIC -o .libs/sfsetfd.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsize.lo sfsize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsize.c -fPIC -DPIC -o .libs/sfsize.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsk.lo sfsk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsk.c -fPIC -DPIC -o .libs/sfsk.o
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);
^~~~~~~~
sfsk.c:36:5: warning: "MAP_TYPE" is not defined, evaluates to 0 [-Wundef]
#if MAP_TYPE
^~~~~~~~
In file included from sfsk.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; \
^
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfstack.lo sfstack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfstack.c -fPIC -DPIC -o .libs/sfstack.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfstrtod.lo sfstrtod.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfstrtod.c -fPIC -DPIC -o .libs/sfstrtod.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfswap.lo sfswap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfswap.c -fPIC -DPIC -o .libs/sfswap.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsync.lo sfsync.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsync.c -fPIC -DPIC -o .libs/sfsync.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftable.lo sftable.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftable.c -fPIC -DPIC -o .libs/sftable.o
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 '*':
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftell.lo sftell.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftell.c -fPIC -DPIC -o .libs/sftell.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftmp.lo sftmp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftmp.c -fPIC -DPIC -o .libs/sftmp.o
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
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfungetc.lo sfungetc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfungetc.c -fPIC -DPIC -o .libs/sfungetc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfvprintf.lo sfvprintf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfvprintf.c -fPIC -DPIC -o .libs/sfvprintf.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfvscanf.lo sfvscanf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfvscanf.c -fPIC -DPIC -o .libs/sfvscanf.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfwr.lo sfwr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfwr.c -fPIC -DPIC -o .libs/sfwr.o
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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfwrite.lo sfwrite.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfwrite.c -fPIC -DPIC -o .libs/sfwrite.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfprintf.lo sfprintf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfprintf.c -fPIC -DPIC -o .libs/sfprintf.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpopen.lo sfpopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpopen.c -fPIC -DPIC -o .libs/sfpopen.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpool.lo sfpool.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpool.c -fPIC -DPIC -o .libs/sfpool.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpoll.lo sfpoll.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpoll.c -fPIC -DPIC -o .libs/sfpoll.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpkrd.lo sfpkrd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpkrd.c -fPIC -DPIC -o .libs/sfpkrd.o
sfpkrd.c: In function ‘sfpkrd’:
sfpkrd.c:66:28: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion]
pbuf.databuf.maxlen = n;
^
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfopen.lo sfopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfopen.c -fPIC -DPIC -o .libs/sfopen.o
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
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnputc.lo sfnputc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnputc.c -fPIC -DPIC -o .libs/sfnputc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnotify.lo sfnotify.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnotify.c -fPIC -DPIC -o .libs/sfnotify.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnew.lo sfnew.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnew.c -fPIC -DPIC -o .libs/sfnew.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmutex.lo sfmutex.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmutex.c -fPIC -DPIC -o .libs/sfmutex.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmove.lo sfmove.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmove.c -fPIC -DPIC -o .libs/sfmove.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmode.lo sfmode.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmode.c -fPIC -DPIC -o .libs/sfmode.o
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: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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfllen.lo sfllen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfllen.c -fPIC -DPIC -o .libs/sfllen.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetu.lo sfgetu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetu.c -fPIC -DPIC -o .libs/sfgetu.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetr.lo sfgetr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetr.c -fPIC -DPIC -o .libs/sfgetr.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetm.lo sfgetm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetm.c -fPIC -DPIC -o .libs/sfgetm.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetl.lo sfgetl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetl.c -fPIC -DPIC -o .libs/sfgetl.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetd.lo sfgetd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetd.c -fPIC -DPIC -o .libs/sfgetd.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfflsbuf.lo sfflsbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfflsbuf.c -fPIC -DPIC -o .libs/sfflsbuf.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sffilbuf.lo sffilbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sffilbuf.c -fPIC -DPIC -o .libs/sffilbuf.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sffcvt.lo sffcvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sffcvt.c -fPIC -DPIC -o .libs/sffcvt.o
sffcvt.c:22:7: warning: no previous prototype for ‘sffcvt’ [-Wmissing-prototypes]
char *sffcvt(double dval, int n_digit, int *decpt, int *sign)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfextern.lo sfextern.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfextern.c -fPIC -DPIC -o .libs/sfextern.o
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 */
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfexit.lo sfexit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfexit.c -fPIC -DPIC -o .libs/sfexit.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfexcept.lo sfexcept.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfexcept.c -fPIC -DPIC -o .libs/sfexcept.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdlen.lo sfdlen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdlen.c -fPIC -DPIC -o .libs/sfdlen.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdisc.lo sfdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdisc.c -fPIC -DPIC -o .libs/sfdisc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfcvt.lo sfcvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfcvt.c -fPIC -DPIC -o .libs/sfcvt.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfclrlock.lo sfclrlock.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfclrlock.c -fPIC -DPIC -o .libs/sfclrlock.o
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);
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfio_C.la sfclose.lo sfclrlock.lo sfcvt.lo sfdisc.lo sfdlen.lo sfexcept.lo sfexit.lo sfextern.lo sffcvt.lo sffilbuf.lo sfflsbuf.lo sfgetd.lo sfgetl.lo sfgetm.lo sfgetr.lo sfgetu.lo sfllen.lo sfmode.lo sfmove.lo sfmutex.lo sfnew.lo sfnotify.lo sfnputc.lo sfopen.lo sfpkrd.lo sfpoll.lo sfpool.lo sfpopen.lo sfprintf.lo sfprints.lo sfpurge.lo sfputd.lo sfputl.lo sfputm.lo sfputr.lo sfputu.lo sfraise.lo sfrd.lo sfread.lo sfreserve.lo sfresize.lo sfscanf.lo sfseek.lo sfset.lo sfsetbuf.lo sfsetfd.lo sfsize.lo sfsk.lo sfstack.lo sfstrtod.lo sfswap.lo sfsync.lo sftable.lo sftell.lo sftmp.lo sfungetc.lo sfvprintf.lo sfvscanf.lo sfwr.lo sfwrite.lo
x86_64-linux-libtool: link: ar cru .libs/libsfio_C.a .libs/sfclose.o .libs/sfclrlock.o .libs/sfcvt.o .libs/sfdisc.o .libs/sfdlen.o .libs/sfexcept.o .libs/sfexit.o .libs/sfextern.o .libs/sffcvt.o .libs/sffilbuf.o .libs/sfflsbuf.o .libs/sfgetd.o .libs/sfgetl.o .libs/sfgetm.o .libs/sfgetr.o .libs/sfgetu.o .libs/sfllen.o .libs/sfmode.o .libs/sfmove.o .libs/sfmutex.o .libs/sfnew.o .libs/sfnotify.o .libs/sfnputc.o .libs/sfopen.o .libs/sfpkrd.o .libs/sfpoll.o .libs/sfpool.o .libs/sfpopen.o .libs/sfprintf.o .libs/sfprints.o .libs/sfpurge.o .libs/sfputd.o .libs/sfputl.o .libs/sfputm.o .libs/sfputr.o .libs/sfputu.o .libs/sfraise.o .libs/sfrd.o .libs/sfread.o .libs/sfreserve.o .libs/sfresize.o .libs/sfscanf.o .libs/sfseek.o .libs/sfset.o .libs/sfsetbuf.o .libs/sfsetfd.o .libs/sfsize.o .libs/sfsk.o .libs/sfstack.o .libs/sfstrtod.o .libs/sfswap.o .libs/sfsync.o .libs/sftable.o .libs/sftell.o .libs/sftmp.o .libs/sfungetc.o .libs/sfvprintf.o .libs/sfvscanf.o .libs/sfwr.o .libs/sfwrite.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfio_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfio_C.la" && ln -s "../libsfio_C.la" "libsfio_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
Making all in vmalloc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vmalloc'
mkdir -p ../../FEATURE
../../iffe - set cc gcc : run ../../lib/vmalloc/features/vmalloc > ../../FEATURE/vmalloc
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o malloc.lo malloc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c malloc.c -fPIC -DPIC -o .libs/malloc.o
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
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmwalk.lo vmwalk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmwalk.c -fPIC -DPIC -o .libs/vmwalk.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmtrace.lo vmtrace.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmtrace.c -fPIC -DPIC -o .libs/vmtrace.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmstrdup.lo vmstrdup.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmstrdup.c -fPIC -DPIC -o .libs/vmstrdup.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmstat.lo vmstat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmstat.c -fPIC -DPIC -o .libs/vmstat.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmset.lo vmset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmset.c -fPIC -DPIC -o .libs/vmset.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmsegment.lo vmsegment.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmsegment.c -fPIC -DPIC -o .libs/vmsegment.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmregion.lo vmregion.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmregion.c -fPIC -DPIC -o .libs/vmregion.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmprofile.lo vmprofile.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmprofile.c -fPIC -DPIC -o .libs/vmprofile.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmprivate.lo vmprivate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmprivate.c -fPIC -DPIC -o .libs/vmprivate.o
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)));
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmpool.lo vmpool.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmpool.c -fPIC -DPIC -o .libs/vmpool.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmopen.lo vmopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmopen.c -fPIC -DPIC -o .libs/vmopen.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmlast.lo vmlast.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmlast.c -fPIC -DPIC -o .libs/vmlast.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdisc.lo vmdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdisc.c -fPIC -DPIC -o .libs/vmdisc.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdebug.lo vmdebug.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdebug.c -fPIC -DPIC -o .libs/vmdebug.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdcheap.lo vmdcheap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdcheap.c -fPIC -DPIC -o .libs/vmdcheap.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmclose.lo vmclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmclose.c -fPIC -DPIC -o .libs/vmclose.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmclear.lo vmclear.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmclear.c -fPIC -DPIC -o .libs/vmclear.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmbest.lo vmbest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmbest.c -fPIC -DPIC -o .libs/vmbest.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libvmalloc_C.la malloc.lo vmbest.lo vmclear.lo vmclose.lo vmdcheap.lo vmdebug.lo vmdisc.lo vmlast.lo vmopen.lo vmpool.lo vmprivate.lo vmprofile.lo vmregion.lo vmsegment.lo vmset.lo vmstat.lo vmstrdup.lo vmtrace.lo vmwalk.lo
x86_64-linux-libtool: link: ar cru .libs/libvmalloc_C.a .libs/malloc.o .libs/vmbest.o .libs/vmclear.o .libs/vmclose.o .libs/vmdcheap.o .libs/vmdebug.o .libs/vmdisc.o .libs/vmlast.o .libs/vmopen.o .libs/vmpool.o .libs/vmprivate.o .libs/vmprofile.o .libs/vmregion.o .libs/vmsegment.o .libs/vmset.o .libs/vmstat.o .libs/vmstrdup.o .libs/vmtrace.o .libs/vmwalk.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libvmalloc_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libvmalloc_C.la" && ln -s "../libvmalloc_C.la" "libvmalloc_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vmalloc'
Making all in ast
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ast'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathpath.lo pathpath.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathpath.c -fPIC -DPIC -o .libs/pathpath.o
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)) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strerror.lo strerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strerror.c -fPIC -DPIC -o .libs/strerror.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strton.lo strton.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strton.c -fPIC -DPIC -o .libs/strton.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strmatch.lo strmatch.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strmatch.c -fPIC -DPIC -o .libs/strmatch.o
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 +
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stresc.lo stresc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stresc.c -fPIC -DPIC -o .libs/stresc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strcopy.lo strcopy.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strcopy.c -fPIC -DPIC -o .libs/strcopy.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathgetlink.lo pathgetlink.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathgetlink.c -fPIC -DPIC -o .libs/pathgetlink.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathfind.lo pathfind.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathfind.c -fPIC -DPIC -o .libs/pathfind.o
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, ':')))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathexists.lo pathexists.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathexists.c -fPIC -DPIC -o .libs/pathexists.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathcat.lo pathcat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathcat.c -fPIC -DPIC -o .libs/pathcat.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathcanon.lo pathcanon.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathcanon.c -fPIC -DPIC -o .libs/pathcanon.o
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
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathbin.lo pathbin.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathbin.c -fPIC -DPIC -o .libs/pathbin.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathaccess.lo pathaccess.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathaccess.c -fPIC -DPIC -o .libs/pathaccess.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fmtesc.lo fmtesc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fmtesc.c -fPIC -DPIC -o .libs/fmtesc.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fmtbuf.lo fmtbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fmtbuf.c -fPIC -DPIC -o .libs/fmtbuf.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o error.lo error.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c error.c -fPIC -DPIC -o .libs/error.o
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))) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o chrtoi.lo chrtoi.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c chrtoi.c -fPIC -DPIC -o .libs/chrtoi.o
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++)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o chresc.lo chresc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c chresc.c -fPIC -DPIC -o .libs/chresc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libast_C.la pathpath.lo chresc.lo chrtoi.lo error.lo fmtbuf.lo fmtesc.lo pathaccess.lo pathbin.lo pathcanon.lo pathcat.lo pathexists.lo pathfind.lo pathgetlink.lo strcopy.lo stresc.lo strmatch.lo strton.lo strerror.lo
x86_64-linux-libtool: link: ar cru .libs/libast_C.a .libs/pathpath.o .libs/chresc.o .libs/chrtoi.o .libs/error.o .libs/fmtbuf.o .libs/fmtesc.o .libs/pathaccess.o .libs/pathbin.o .libs/pathcanon.o .libs/pathcat.o .libs/pathexists.o .libs/pathfind.o .libs/pathgetlink.o .libs/strcopy.o .libs/stresc.o .libs/strmatch.o .libs/strton.o .libs/strerror.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libast_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libast_C.la" && ln -s "../libast_C.la" "libast_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ast'
Making all in vpsc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vpsc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vpsc'
Making all in rbtree
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/rbtree'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o misc.lo misc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c misc.c -fPIC -DPIC -o .libs/misc.o
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) { ; }
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stack.lo stack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stack.c -fPIC -DPIC -o .libs/stack.o
stack.c:71:6: warning: no previous prototype for ‘StackDestroy’ [-Wmissing-prototypes]
void StackDestroy(stk_stack * theStack,void DestFunc(void * a)) {
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o red_black_tree.lo red_black_tree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c red_black_tree.c -fPIC -DPIC -o .libs/red_black_tree.o
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) {
^~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o librbtree_C.la misc.lo red_black_tree.lo stack.lo
x86_64-linux-libtool: link: ar cru .libs/librbtree_C.a .libs/misc.o .libs/red_black_tree.o .libs/stack.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/librbtree_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "librbtree_C.la" && ln -s "../librbtree_C.la" "librbtree_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/rbtree'
Making all in ortho
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ortho'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fPQ.lo fPQ.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fPQ.c -fPIC -DPIC -o .libs/fPQ.o
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*);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o trapezoid.lo trapezoid.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c trapezoid.c -fPIC -DPIC -o .libs/trapezoid.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sgraph.lo sgraph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sgraph.c -fPIC -DPIC -o .libs/sgraph.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rawgraph.lo rawgraph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rawgraph.c -fPIC -DPIC -o .libs/rawgraph.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o partition.lo partition.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c partition.c -fPIC -DPIC -o .libs/partition.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ortho.lo ortho.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ortho.c -fPIC -DPIC -o .libs/ortho.o
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) {
^~
In file included from ../../lib/common/types.h:21:0,
from ./structures.h:17,
from ./sgraph.h:17,
from ./maze.h:17,
from ortho.c:30:
ortho.c: In function ‘is_parallel’:
ortho.c:843:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert (s1->comm_coord==s2->comm_coord);
^
ortho.c:843:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert (s1->comm_coord==s2->comm_coord);
^
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 ‘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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o maze.lo maze.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c maze.c -fPIC -DPIC -o .libs/maze.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libortho_C.la fPQ.lo maze.lo ortho.lo partition.lo rawgraph.lo sgraph.lo trapezoid.lo
x86_64-linux-libtool: link: ar cru .libs/libortho_C.a .libs/fPQ.o .libs/maze.o .libs/ortho.o .libs/partition.o .libs/rawgraph.o .libs/sgraph.o .libs/trapezoid.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libortho_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libortho_C.la" && ln -s "../libortho_C.la" "libortho_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ortho'
Making all in sparse
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sparse'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o SparseMatrix.lo SparseMatrix.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c SparseMatrix.c -fPIC -DPIC -o .libs/SparseMatrix.o
SparseMatrix.c:23:5: warning: "PQ" is not defined, evaluates to 0 [-Wundef]
#if PQ
^~
SparseMatrix.c: In function ‘size_of_matrix_type’:
SparseMatrix.c:51:10: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]
return size;
^~~~
SparseMatrix.c: In function ‘SparseMatrix_init’:
SparseMatrix.c:306:13: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion]
A->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){
^~
In file included from ./general.h:21:0,
from SparseMatrix.h:16,
from SparseMatrix.c:21:
SparseMatrix.c: In function ‘SparseMatrix_pseudo_diameter_weighted’:
SparseMatrix.c:2757:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(dist[list[nlist-1]] == dist_max);
^
SparseMatrix.c:2757:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(dist[list[nlist-1]] == dist_max);
^
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: 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: 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: 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: 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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o QuadTree.lo QuadTree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c QuadTree.c -fPIC -DPIC -o .libs/QuadTree.o
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<<dim));
^
QuadTree.c: In function ‘QuadTree_get_nearest_internal’:
QuadTree.c:680:9: warning: declaration of ‘point’ shadows a global declaration [-Wshadow]
real *point = x;
^~~~~
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o clustering.lo clustering.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c clustering.c -fPIC -DPIC -o .libs/clustering.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mq.lo mq.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mq.c -fPIC -DPIC -o .libs/mq.o
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: 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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o color_palette.lo color_palette.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c color_palette.c -fPIC -DPIC -o .libs/color_palette.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o colorutil.lo colorutil.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c colorutil.c -fPIC -DPIC -o .libs/colorutil.o
colorutil.c:42:6: warning: no previous prototype for ‘Hue2RGB’ [-Wmissing-prototypes]
real Hue2RGB(real v1, real v2, real H) {
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o LinkedList.lo LinkedList.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c LinkedList.c -fPIC -DPIC -o .libs/LinkedList.o
LinkedList.c:124:6: warning: no previous prototype for ‘DoubleLinkedList_print’ [-Wmissing-prototypes]
void DoubleLinkedList_print(DoubleLinkedList head, void (*linkedlist_print)(void*)){
^~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o DotIO.lo DotIO.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c DotIO.c -fPIC -DPIC -o .libs/DotIO.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vector.lo vector.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vector.c -fPIC -DPIC -o .libs/vector.o
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){
^~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o IntStack.lo IntStack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c IntStack.c -fPIC -DPIC -o .libs/IntStack.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o BinaryHeap.lo BinaryHeap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c BinaryHeap.c -fPIC -DPIC -o .libs/BinaryHeap.o
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_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)));
^
In file included from general.h:21:0,
from BinaryHeap.h:17,
from BinaryHeap.c:14:
BinaryHeap.c:269:74: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for (i = 0; i < h->len + IntStack_get_length(h->id_stack); i++) assert(mask[i] =- 1);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o general.lo general.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c general.c -fPIC -DPIC -o .libs/general.o
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: 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: 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;
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsparse_C.la SparseMatrix.lo general.lo BinaryHeap.lo IntStack.lo vector.lo DotIO.lo LinkedList.lo colorutil.lo color_palette.lo mq.lo clustering.lo QuadTree.lo
x86_64-linux-libtool: link: ar cru .libs/libsparse_C.a .libs/SparseMatrix.o .libs/general.o .libs/BinaryHeap.o .libs/IntStack.o .libs/vector.o .libs/DotIO.o .libs/LinkedList.o .libs/colorutil.o .libs/color_palette.o .libs/mq.o .libs/clustering.o .libs/QuadTree.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsparse_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsparse_C.la" && ln -s "../libsparse_C.la" "libsparse_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sparse'
Making all in patchwork
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/patchwork'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o patchwork.lo patchwork.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c patchwork.c -fPIC -DPIC -o .libs/patchwork.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o tree_map.lo tree_map.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c tree_map.c -fPIC -DPIC -o .libs/tree_map.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o patchworkinit.lo patchworkinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c patchworkinit.c -fPIC -DPIC -o .libs/patchworkinit.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpatchwork_C.la patchwork.lo patchworkinit.lo tree_map.lo
x86_64-linux-libtool: link: ar cru .libs/libpatchwork_C.a .libs/patchwork.o .libs/patchworkinit.o .libs/tree_map.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpatchwork_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpatchwork_C.la" && ln -s "../libpatchwork_C.la" "libpatchwork_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/patchwork'
Making all in expr
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr'
bison -y -dtv ../../lib/expr/exparse.y
../../lib/expr/exparse.y:131.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
131 | %binary <op> EQ NE
| ^~~~~~~
../../lib/expr/exparse.y:132.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
132 | %binary <op> '<' '>' LE GE
| ^~~~~~~
../../lib/expr/exparse.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
groff -Tps -man ./expr.3 | false - - >expr.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1079: recipe for target 'expr.3.pdf' failed
make[3]: [expr.3.pdf] Error 1 (ignored)
sed "s/yy/ex/g" <y.tab.c | \
sed "s/YY/EX/g" | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" | \
sed "s/fprintf/sfprintf/g" | \
sed "s/FILE/Sfio_t/g" | \
sed "s/stderr/sfstderr/g" > exparse.c
echo "#ifndef _EXPARSE_H" > exparse.h
echo "#define _EXPARSE_H" >> exparse.h
sed "s/yy/ex/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" | \
sed "s/YY/EX/g" >> exparse.h
echo "#endif /* _EXPARSE_H */" >> exparse.h
echo "static const char* exop[] = {" > exop.h
echo " \"MINTOKEN\"," >> exop.h
sed -e '1,/^[ ]*#[ ]*define[ ][ ]*MINTOKEN/d' -e '/MAXTOKEN/,$d' -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h
echo "};" >> exop.h
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o excc.lo excc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c excc.c -fPIC -DPIC -o .libs/excc.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exstash.lo exstash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exstash.c -fPIC -DPIC -o .libs/exstash.o
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__)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exnospace.lo exnospace.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exnospace.c -fPIC -DPIC -o .libs/exnospace.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exparse.lo exparse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exparse.c -fPIC -DPIC -o .libs/exparse.o
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)
^~~~
../../lib/expr/exparse.y: In function ‘exparse’:
../../lib/expr/exparse.y:205:84: 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:86: 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:52: 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:31: 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:103: 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:79: 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:49: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion]
$1->value->data.value = exzero($1->type);
^
../../lib/expr/exparse.y:606:125: 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:69: 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:69: 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:51: 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:54: 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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exzero.lo exzero.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exzero.c -fPIC -DPIC -o .libs/exzero.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o extype.lo extype.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c extype.c -fPIC -DPIC -o .libs/extype.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o extoken.lo extoken.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c extoken.c -fPIC -DPIC -o .libs/extoken.o
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;
~~~~~~~~~^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exrewind.lo exrewind.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exrewind.c -fPIC -DPIC -o .libs/exrewind.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exopen.lo exopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exopen.c -fPIC -DPIC -o .libs/exopen.o
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()) ||
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exlexname.lo exlexname.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exlexname.c -fPIC -DPIC -o .libs/exlexname.o
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];
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exexpr.lo exexpr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exexpr.c -fPIC -DPIC -o .libs/exexpr.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exeval.lo exeval.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exeval.c -fPIC -DPIC -o .libs/exeval.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exerror.lo exerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exerror.c -fPIC -DPIC -o .libs/exerror.o
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())) {
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exdata.lo exdata.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exdata.c -fPIC -DPIC -o .libs/exdata.o
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__)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o excontext.lo excontext.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c excontext.c -fPIC -DPIC -o .libs/excontext.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libexpr_C.la excc.lo excontext.lo exdata.lo exerror.lo exeval.lo exexpr.lo exlexname.lo exopen.lo exrewind.lo extoken.lo extype.lo exzero.lo exparse.lo exnospace.lo exstash.lo ../../lib/ast/libast_C.la ../../lib/vmalloc/libvmalloc_C.la ../../lib/sfio/libsfio_C.la ../../lib/cdt/libcdt.la
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libast_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/ast/.libs/libast_C.a")
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libvmalloc_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/vmalloc/.libs/libvmalloc_C.a")
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libsfio_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/sfio/.libs/libsfio_C.a")
x86_64-linux-libtool: link: ar cru .libs/libexpr_C.a .libs/excc.o .libs/excontext.o .libs/exdata.o .libs/exerror.o .libs/exeval.o .libs/exexpr.o .libs/exlexname.o .libs/exopen.o .libs/exrewind.o .libs/extoken.o .libs/extype.o .libs/exzero.o .libs/exparse.o .libs/exnospace.o .libs/exstash.o .libs/libexpr_C.lax/libast_C.a/chresc.o .libs/libexpr_C.lax/libast_C.a/chrtoi.o .libs/libexpr_C.lax/libast_C.a/error.o .libs/libexpr_C.lax/libast_C.a/fmtbuf.o .libs/libexpr_C.lax/libast_C.a/fmtesc.o .libs/libexpr_C.lax/libast_C.a/pathaccess.o .libs/libexpr_C.lax/libast_C.a/pathbin.o .libs/libexpr_C.lax/libast_C.a/pathcanon.o .libs/libexpr_C.lax/libast_C.a/pathcat.o .libs/libexpr_C.lax/libast_C.a/pathexists.o .libs/libexpr_C.lax/libast_C.a/pathfind.o .libs/libexpr_C.lax/libast_C.a/pathgetlink.o .libs/libexpr_C.lax/libast_C.a/pathpath.o .libs/libexpr_C.lax/libast_C.a/strcopy.o .libs/libexpr_C.lax/libast_C.a/strerror.o .libs/libexpr_C.lax/libast_C.a/stresc.o .libs/libexpr_C.lax/libast_C.a/strmatch.o .libs/libexpr_C.lax/libast_C.a/strton.o .libs/libexpr_C.lax/libvmalloc_C.a/malloc.o .libs/libexpr_C.lax/libvmalloc_C.a/vmbest.o .libs/libexpr_C.lax/libvmalloc_C.a/vmclear.o .libs/libexpr_C.lax/libvmalloc_C.a/vmclose.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdcheap.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdebug.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdisc.o .libs/libexpr_C.lax/libvmalloc_C.a/vmlast.o .libs/libexpr_C.lax/libvmalloc_C.a/vmopen.o .libs/libexpr_C.lax/libvmalloc_C.a/vmpool.o .libs/libexpr_C.lax/libvmalloc_C.a/vmprivate.o .libs/libexpr_C.lax/libvmalloc_C.a/vmprofile.o .libs/libexpr_C.lax/libvmalloc_C.a/vmregion.o .libs/libexpr_C.lax/libvmalloc_C.a/vmsegment.o .libs/libexpr_C.lax/libvmalloc_C.a/vmset.o .libs/libexpr_C.lax/libvmalloc_C.a/vmstat.o .libs/libexpr_C.lax/libvmalloc_C.a/vmstrdup.o .libs/libexpr_C.lax/libvmalloc_C.a/vmtrace.o .libs/libexpr_C.lax/libvmalloc_C.a/vmwalk.o .libs/libexpr_C.lax/libsfio_C.a/sfclose.o .libs/libexpr_C.lax/libsfio_C.a/sfclrlock.o .libs/libexpr_C.lax/libsfio_C.a/sfcvt.o .libs/libexpr_C.lax/libsfio_C.a/sfdisc.o .libs/libexpr_C.lax/libsfio_C.a/sfdlen.o .libs/libexpr_C.lax/libsfio_C.a/sfexcept.o .libs/libexpr_C.lax/libsfio_C.a/sfexit.o .libs/libexpr_C.lax/libsfio_C.a/sfextern.o .libs/libexpr_C.lax/libsfio_C.a/sffcvt.o .libs/libexpr_C.lax/libsfio_C.a/sffilbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfflsbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfgetd.o .libs/libexpr_C.lax/libsfio_C.a/sfgetl.o .libs/libexpr_C.lax/libsfio_C.a/sfgetm.o .libs/libexpr_C.lax/libsfio_C.a/sfgetr.o .libs/libexpr_C.lax/libsfio_C.a/sfgetu.o .libs/libexpr_C.lax/libsfio_C.a/sfllen.o .libs/libexpr_C.lax/libsfio_C.a/sfmode.o .libs/libexpr_C.lax/libsfio_C.a/sfmove.o .libs/libexpr_C.lax/libsfio_C.a/sfmutex.o .libs/libexpr_C.lax/libsfio_C.a/sfnew.o .libs/libexpr_C.lax/libsfio_C.a/sfnotify.o .libs/libexpr_C.lax/libsfio_C.a/sfnputc.o .libs/libexpr_C.lax/libsfio_C.a/sfopen.o .libs/libexpr_C.lax/libsfio_C.a/sfpkrd.o .libs/libexpr_C.lax/libsfio_C.a/sfpoll.o .libs/libexpr_C.lax/libsfio_C.a/sfpool.o .libs/libexpr_C.lax/libsfio_C.a/sfpopen.o .libs/libexpr_C.lax/libsfio_C.a/sfprintf.o .libs/libexpr_C.lax/libsfio_C.a/sfprints.o .libs/libexpr_C.lax/libsfio_C.a/sfpurge.o .libs/libexpr_C.lax/libsfio_C.a/sfputd.o .libs/libexpr_C.lax/libsfio_C.a/sfputl.o .libs/libexpr_C.lax/libsfio_C.a/sfputm.o .libs/libexpr_C.lax/libsfio_C.a/sfputr.o .libs/libexpr_C.lax/libsfio_C.a/sfputu.o .libs/libexpr_C.lax/libsfio_C.a/sfraise.o .libs/libexpr_C.lax/libsfio_C.a/sfrd.o .libs/libexpr_C.lax/libsfio_C.a/sfread.o .libs/libexpr_C.lax/libsfio_C.a/sfreserve.o .libs/libexpr_C.lax/libsfio_C.a/sfresize.o .libs/libexpr_C.lax/libsfio_C.a/sfscanf.o .libs/libexpr_C.lax/libsfio_C.a/sfseek.o .libs/libexpr_C.lax/libsfio_C.a/sfset.o .libs/libexpr_C.lax/libsfio_C.a/sfsetbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfsetfd.o .libs/libexpr_C.lax/libsfio_C.a/sfsize.o .libs/libexpr_C.lax/libsfio_C.a/sfsk.o .libs/libexpr_C.lax/libsfio_C.a/sfstack.o .libs/libexpr_C.lax/libsfio_C.a/sfstrtod.o .libs/libexpr_C.lax/libsfio_C.a/sfswap.o .libs/libexpr_C.lax/libsfio_C.a/sfsync.o .libs/libexpr_C.lax/libsfio_C.a/sftable.o .libs/libexpr_C.lax/libsfio_C.a/sftell.o .libs/libexpr_C.lax/libsfio_C.a/sftmp.o .libs/libexpr_C.lax/libsfio_C.a/sfungetc.o .libs/libexpr_C.lax/libsfio_C.a/sfvprintf.o .libs/libexpr_C.lax/libsfio_C.a/sfvscanf.o .libs/libexpr_C.lax/libsfio_C.a/sfwr.o .libs/libexpr_C.lax/libsfio_C.a/sfwrite.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libexpr_C.a
x86_64-linux-libtool: link: rm -fr .libs/libexpr_C.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libexpr_C.la" && ln -s "../libexpr_C.la" "libexpr_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr'
Making all in common
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
gawk -f ../../awk/brewer.awk ../../lib/common/brewer_colors > brewer_lib
bison -y -dv ../../lib/common/htmlparse.y
../../lib/common/htmlparse.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
cp ./ps_fontmap.txt ps_font_equiv.h
./mksvgfonts.pl fontmap.cfg ps_font_equiv.txt | LC_ALL=C sort >>ps_font_equiv.h
don't know about Symbol
don't know about ZapfDingbats
sed "s/yy/html/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g"> htmlparse.h
gawk -f ../../awk/svgcolor.awk ../../lib/common/svgcolor_names > svgcolor_lib
cat brewer_lib svgcolor_lib ../../lib/common/color_names | LC_ALL=C sort > color_lib
gawk -f ../../awk/colortbl.awk color_lib > colortbl.h
make all-am
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o arrows.lo arrows.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c arrows.c -fPIC -DPIC -o .libs/arrows.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o emit.lo emit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c emit.c -fPIC -DPIC -o .libs/emit.o
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)
^~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o output.lo output.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c output.c -fPIC -DPIC -o .libs/output.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o taper.lo taper.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c taper.c -fPIC -DPIC -o .libs/taper.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o geom.lo geom.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c geom.c -fPIC -DPIC -o .libs/geom.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o utils.lo utils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c utils.c -fPIC -DPIC -o .libs/utils.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shapes.lo shapes.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shapes.c -fPIC -DPIC -o .libs/shapes.o
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:
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ns.lo ns.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ns.c -fPIC -DPIC -o .libs/ns.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o labels.lo labels.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c labels.c -fPIC -DPIC -o .libs/labels.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o timing.lo timing.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c timing.c -fPIC -DPIC -o .libs/timing.o
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);
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o psusershape.lo psusershape.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c psusershape.c -fPIC -DPIC -o .libs/psusershape.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o splines.lo splines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c splines.c -fPIC -DPIC -o .libs/splines.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o routespl.lo routespl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c routespl.c -fPIC -DPIC -o .libs/routespl.o
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 */
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o postproc.lo postproc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c postproc.c -fPIC -DPIC -o .libs/postproc.o
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) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o intset.lo intset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c intset.c -fPIC -DPIC -o .libs/intset.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pointset.lo pointset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pointset.c -fPIC -DPIC -o .libs/pointset.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o input.lo input.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c input.c -fPIC -DPIC -o .libs/input.o
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);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmltable.lo htmltable.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmltable.c -fPIC -DPIC -o .libs/htmltable.o
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)) {
^~~~~~
sed "s/yy/html/g" < y.tab.c | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > htmlparse.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmllex.lo htmllex.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmllex.c -fPIC -DPIC -o .libs/htmllex.o
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
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmlparse.lo htmlparse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmlparse.c -fPIC -DPIC -o .libs/htmlparse.o
../../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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o globals.lo globals.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c globals.c -fPIC -DPIC -o .libs/globals.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o memory.lo memory.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c memory.c -fPIC -DPIC -o .libs/memory.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o args.lo args.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c args.c -fPIC -DPIC -o .libs/args.o
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)
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o textspan.lo textspan.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c textspan.c -fPIC -DPIC -o .libs/textspan.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ellipse.lo ellipse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ellipse.c -fPIC -DPIC -o .libs/ellipse.o
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
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o colxlate.lo colxlate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c colxlate.c -fPIC -DPIC -o .libs/colxlate.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcommon_C.la arrows.lo colxlate.lo ellipse.lo textspan.lo args.lo memory.lo globals.lo htmllex.lo htmlparse.lo htmltable.lo input.lo pointset.lo intset.lo postproc.lo routespl.lo splines.lo psusershape.lo timing.lo labels.lo ns.lo shapes.lo utils.lo geom.lo taper.lo output.lo emit.lo
x86_64-linux-libtool: link: ar cru .libs/libcommon_C.a .libs/arrows.o .libs/colxlate.o .libs/ellipse.o .libs/textspan.o .libs/args.o .libs/memory.o .libs/globals.o .libs/htmllex.o .libs/htmlparse.o .libs/htmltable.o .libs/input.o .libs/pointset.o .libs/intset.o .libs/postproc.o .libs/routespl.o .libs/splines.o .libs/psusershape.o .libs/timing.o .libs/labels.o .libs/ns.o .libs/shapes.o .libs/utils.o .libs/geom.o .libs/taper.o .libs/output.o .libs/emit.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcommon_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcommon_C.la" && ln -s "../libcommon_C.la" "libcommon_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
Making all in pack
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pack'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ccomps.lo ccomps.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ccomps.c -fPIC -DPIC -o .libs/ccomps.o
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;
^~~
groff -Tps -man ./pack.3 | false - - >pack.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:977: recipe for target 'pack.3.pdf' failed
make[3]: [pack.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pack.lo pack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pack.c -fPIC -DPIC -o .libs/pack.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpack_C.la ccomps.lo pack.lo
x86_64-linux-libtool: link: ar cru .libs/libpack_C.a .libs/ccomps.o .libs/pack.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpack_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpack_C.la" && ln -s "../libpack_C.la" "libpack_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pack'
Making all in xdot
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xdot.lo xdot.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xdot.c -fPIC -DPIC -o .libs/xdot.o
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;
^
groff -Tps -man ./xdot.3 | false - - >xdot.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1043: recipe for target 'xdot.3.pdf' failed
make[3]: [xdot.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libxdot_C.la xdot.lo
x86_64-linux-libtool: link: ar cru .libs/libxdot_C.a .libs/xdot.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libxdot_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libxdot_C.la" && ln -s "../libxdot_C.la" "libxdot_C.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "4:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libxdot.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib xdot.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/xdot.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libxdot.so.4 -o .libs/libxdot.so.4.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libxdot.so.4" && ln -s "libxdot.so.4.0.0" "libxdot.so.4")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libxdot.so" && ln -s "libxdot.so.4.0.0" "libxdot.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libxdot.la" && ln -s "../libxdot.la" "libxdot.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot'
Making all in label
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/label'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xlabels.lo xlabels.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xlabels.c -fPIC -DPIC -o .libs/xlabels.o
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: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. */
^
In file included from xlabels.c:13:0:
xlabels.c: In function ‘lblenclosing’:
xlabels.c:219:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
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 ‘placeLabels’:
xlabels.c:680:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
} else if(bp.area == 0) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o split.q.lo split.q.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c split.q.c -fPIC -DPIC -o .libs/split.q.o
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]);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rectangle.lo rectangle.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rectangle.c -fPIC -DPIC -o .libs/rectangle.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node.lo node.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node.c -fPIC -DPIC -o .libs/node.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o index.lo index.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c index.c -fPIC -DPIC -o .libs/index.o
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)
^~~
In file included from index.c:17:0:
index.c: In function ‘RTreeDelete2’:
index.c:435:17: warning: ordered comparison of pointer with integer zero [-Wextra]
assert(data >= 0);
^
index.c:435:17: warning: ordered comparison of pointer with integer zero [-Wextra]
assert(data >= 0);
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o liblabel_C.la xlabels.lo index.lo node.lo rectangle.lo split.q.lo
x86_64-linux-libtool: link: ar cru .libs/liblabel_C.a .libs/xlabels.o .libs/index.o .libs/node.o .libs/rectangle.o .libs/split.q.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/liblabel_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "liblabel_C.la" && ln -s "../liblabel_C.la" "liblabel_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/label'
Making all in gvc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender.lo gvrender.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender.c -fPIC -DPIC -o .libs/gvrender.o
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));
^
groff -Tps -man ./gvc.3 | false - - > gvc.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1130: recipe for target 'gvc.3.pdf' failed
make[3]: [gvc.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvc.lo gvc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvc.c -fPIC -DPIC -o .libs/gvc.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvusershape.lo gvusershape.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvusershape.c -fPIC -DPIC -o .libs/gvusershape.o
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)
^~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtextlayout.lo gvtextlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtextlayout.c -fPIC -DPIC -o .libs/gvtextlayout.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtool_tred.lo gvtool_tred.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtool_tred.c -fPIC -DPIC -o .libs/gvtool_tred.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvconfig.lo gvconfig.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvconfig.c -fPIC -DPIC -o .libs/gvconfig.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin.lo gvplugin.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin.c -fPIC -DPIC -o .libs/gvplugin.o
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++) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvevent.lo gvevent.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvevent.c -fPIC -DPIC -o .libs/gvevent.o
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)
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvjobs.lo gvjobs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvjobs.c -fPIC -DPIC -o .libs/gvjobs.o
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*)));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvcontext.lo gvcontext.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvcontext.c -fPIC -DPIC -o .libs/gvcontext.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage.lo gvloadimage.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage.c -fPIC -DPIC -o .libs/gvloadimage.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvdevice.lo gvdevice.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvdevice.c -fPIC -DPIC -o .libs/gvdevice.o
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)) {
^
In file included from ../../lib/common/types.h:21:0,
from gvplugin_device.h:17,
from gvdevice.c:55:
gvdevice.c: In function ‘gvfwrite’:
gvdevice.c:269:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(size = sizeof(char));
^
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvlayout.lo gvlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvlayout.c -fPIC -DPIC -o .libs/gvlayout.o
gvlayout.c: In function ‘gvFreeLayout’:
gvlayout.c:102:26: warning: unused parameter ‘gvc’ [-Wunused-parameter]
int gvFreeLayout(GVC_t * gvc, Agraph_t * g)
^~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "6:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvc.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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 -lltdl ../../lib/xdot/libxdot.la ../../lib/cdt/libcdt.la ../../lib/cgraph/libcgraph.la ../../lib/pathplan/libpathplan.la -L/usr/lib64 -lexpat -lz -lm -lz -lm
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/gvrender.o .libs/gvlayout.o .libs/gvdevice.o .libs/gvloadimage.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvtool_tred.o .libs/gvtextlayout.o .libs/gvusershape.o .libs/gvc.o -Wl,--whole-archive ../../lib/pack/.libs/libpack_C.a ../../lib/xdot/.libs/libxdot_C.a ../../lib/label/.libs/liblabel_C.a ../../lib/common/.libs/libcommon_C.a ../../lib/ortho/.libs/libortho_C.a -Wl,--no-whole-archive -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -lltdl ../../lib/xdot/.libs/libxdot.so ../../lib/cdt/.libs/libcdt.so ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so ../../lib/pathplan/.libs/libpathplan.so -L/usr/lib64 -lexpat -lz -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvc.so.6 -o .libs/libgvc.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvc.so.6" && ln -s "libgvc.so.6.0.0" "libgvc.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvc.so" && ln -s "libgvc.so.6.0.0" "libgvc.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvc.la" && ln -s "../libgvc.la" "libgvc.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvc_C.la 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 -lltdl -lz -lm
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libpack_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/pack/.libs/libpack_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libxdot_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/xdot/.libs/libxdot_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/liblabel_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/label/.libs/liblabel_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libcommon_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/common/.libs/libcommon_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libortho_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/ortho/.libs/libortho_C.a")
x86_64-linux-libtool: link: ar cru .libs/libgvc_C.a .libs/gvrender.o .libs/gvlayout.o .libs/gvdevice.o .libs/gvloadimage.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvtool_tred.o .libs/gvtextlayout.o .libs/gvusershape.o .libs/gvc.o .libs/libgvc_C.lax/libpack_C.a/ccomps.o .libs/libgvc_C.lax/libpack_C.a/pack.o .libs/libgvc_C.lax/libxdot_C.a/xdot.o .libs/libgvc_C.lax/liblabel_C.a/index.o .libs/libgvc_C.lax/liblabel_C.a/node.o .libs/libgvc_C.lax/liblabel_C.a/rectangle.o .libs/libgvc_C.lax/liblabel_C.a/split.q.o .libs/libgvc_C.lax/liblabel_C.a/xlabels.o .libs/libgvc_C.lax/libcommon_C.a/args.o .libs/libgvc_C.lax/libcommon_C.a/arrows.o .libs/libgvc_C.lax/libcommon_C.a/colxlate.o .libs/libgvc_C.lax/libcommon_C.a/ellipse.o .libs/libgvc_C.lax/libcommon_C.a/emit.o .libs/libgvc_C.lax/libcommon_C.a/geom.o .libs/libgvc_C.lax/libcommon_C.a/globals.o .libs/libgvc_C.lax/libcommon_C.a/htmllex.o .libs/libgvc_C.lax/libcommon_C.a/htmlparse.o .libs/libgvc_C.lax/libcommon_C.a/htmltable.o .libs/libgvc_C.lax/libcommon_C.a/input.o .libs/libgvc_C.lax/libcommon_C.a/intset.o .libs/libgvc_C.lax/libcommon_C.a/labels.o .libs/libgvc_C.lax/libcommon_C.a/memory.o .libs/libgvc_C.lax/libcommon_C.a/ns.o .libs/libgvc_C.lax/libcommon_C.a/output.o .libs/libgvc_C.lax/libcommon_C.a/pointset.o .libs/libgvc_C.lax/libcommon_C.a/postproc.o .libs/libgvc_C.lax/libcommon_C.a/psusershape.o .libs/libgvc_C.lax/libcommon_C.a/routespl.o .libs/libgvc_C.lax/libcommon_C.a/shapes.o .libs/libgvc_C.lax/libcommon_C.a/splines.o .libs/libgvc_C.lax/libcommon_C.a/taper.o .libs/libgvc_C.lax/libcommon_C.a/textspan.o .libs/libgvc_C.lax/libcommon_C.a/timing.o .libs/libgvc_C.lax/libcommon_C.a/utils.o .libs/libgvc_C.lax/libortho_C.a/fPQ.o .libs/libgvc_C.lax/libortho_C.a/maze.o .libs/libgvc_C.lax/libortho_C.a/ortho.o .libs/libgvc_C.lax/libortho_C.a/partition.o .libs/libgvc_C.lax/libortho_C.a/rawgraph.o .libs/libgvc_C.lax/libortho_C.a/sgraph.o .libs/libgvc_C.lax/libortho_C.a/trapezoid.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvc_C.a
x86_64-linux-libtool: link: rm -fr .libs/libgvc_C.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvc_C.la" && ln -s "../libgvc_C.la" "libgvc_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc'
Making all in ingraphs
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ingraphs'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ingraphs.lo ingraphs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ingraphs.c -fPIC -DPIC -o .libs/ingraphs.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libingraphs_C.la ingraphs.lo
x86_64-linux-libtool: link: ar cru .libs/libingraphs_C.a .libs/ingraphs.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libingraphs_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libingraphs_C.la" && ln -s "../libingraphs_C.la" "libingraphs_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ingraphs'
Making all in topfish
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/topfish'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/topfish'
Making all in glcomp
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/glcomp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/glcomp'
Making all in mingle
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/mingle'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/mingle'
Making all in edgepaint
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/edgepaint'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lab_gamut.lo lab_gamut.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lab_gamut.c -fPIC -DPIC -o .libs/lab_gamut.o
groff -Tps -man ./lab_gamut.3 | false - - >lab_gamut.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1048: recipe for target 'lab_gamut.3.pdf' failed
make[3]: [lab_gamut.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "1:0:0" -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o liblab_gamut.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib lab_gamut.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/lab_gamut.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,liblab_gamut.so.1 -o .libs/liblab_gamut.so.1.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "liblab_gamut.so.1" && ln -s "liblab_gamut.so.1.0.0" "liblab_gamut.so.1")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "liblab_gamut.so" && ln -s "liblab_gamut.so.1.0.0" "liblab_gamut.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "liblab_gamut.la" && ln -s "../liblab_gamut.la" "liblab_gamut.la" )
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node_distinct_coloring.lo node_distinct_coloring.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node_distinct_coloring.c -fPIC -DPIC -o .libs/node_distinct_coloring.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lab.lo lab.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lab.c -fPIC -DPIC -o .libs/lab.o
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 */
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o intersection.lo intersection.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c intersection.c -fPIC -DPIC -o .libs/intersection.o
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]){
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o furtherest_point.lo furtherest_point.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c furtherest_point.c -fPIC -DPIC -o .libs/furtherest_point.o
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<<dim));
^
furtherest_point.c:131:53: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
MEMCPY(*argmax, qt->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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edge_distinct_coloring.lo edge_distinct_coloring.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edge_distinct_coloring.c -fPIC -DPIC -o .libs/edge_distinct_coloring.o
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){
^~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libedgepaint_C.la edge_distinct_coloring.lo furtherest_point.lo intersection.lo lab.lo node_distinct_coloring.lo
x86_64-linux-libtool: link: ar cru .libs/libedgepaint_C.a .libs/edge_distinct_coloring.o .libs/furtherest_point.o .libs/intersection.o .libs/lab.o .libs/node_distinct_coloring.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libedgepaint_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libedgepaint_C.la" && ln -s "../libedgepaint_C.la" "libedgepaint_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/edgepaint'
Making all in circogen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/circogen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circularinit.lo circularinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circularinit.c -fPIC -DPIC -o .libs/circularinit.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o nodeset.lo nodeset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c nodeset.c -fPIC -DPIC -o .libs/nodeset.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circpos.lo circpos.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circpos.c -fPIC -DPIC -o .libs/circpos.o
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)
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o blockpath.lo blockpath.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c blockpath.c -fPIC -DPIC -o .libs/blockpath.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o blocktree.lo blocktree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c blocktree.c -fPIC -DPIC -o .libs/blocktree.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o deglist.lo deglist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c deglist.c -fPIC -DPIC -o .libs/deglist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circular.lo circular.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circular.c -fPIC -DPIC -o .libs/circular.o
circular.c: In function ‘cleanup’:
circular.c:59:50: warning: unused parameter ‘sp’ [-Wunused-parameter]
static void cleanup(block_t * root, circ_state * sp)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edgelist.lo edgelist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edgelist.c -fPIC -DPIC -o .libs/edgelist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o block.lo block.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c block.c -fPIC -DPIC -o .libs/block.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o nodelist.lo nodelist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c nodelist.c -fPIC -DPIC -o .libs/nodelist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcircogen_C.la circularinit.lo nodelist.lo block.lo edgelist.lo circular.lo deglist.lo blocktree.lo blockpath.lo circpos.lo nodeset.lo
x86_64-linux-libtool: link: ar cru .libs/libcircogen_C.a .libs/circularinit.o .libs/nodelist.o .libs/block.o .libs/edgelist.o .libs/circular.o .libs/deglist.o .libs/blocktree.o .libs/blockpath.o .libs/circpos.o .libs/nodeset.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcircogen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcircogen_C.la" && ln -s "../libcircogen_C.la" "libcircogen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/circogen'
Making all in dotgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/dotgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o acyclic.lo acyclic.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c acyclic.c -fPIC -DPIC -o .libs/acyclic.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o aspect.lo aspect.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c aspect.c -fPIC -DPIC -o .libs/aspect.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dotsplines.lo dotsplines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dotsplines.c -fPIC -DPIC -o .libs/dotsplines.o
dotsplines.c:114:1: warning: missing initializer for field ‘ignoreSwap’ of ‘splineInfo {aka struct <anonymous>}’ [-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);
^~~~~~
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: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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sameport.lo sameport.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sameport.c -fPIC -DPIC -o .libs/sameport.o
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)
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rank.lo rank.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rank.c -fPIC -DPIC -o .libs/rank.o
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);
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o position.lo position.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c position.c -fPIC -DPIC -o .libs/position.o
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)));
^~~
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);
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mincross.lo mincross.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mincross.c -fPIC -DPIC -o .libs/mincross.o
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);
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dotinit.lo dotinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dotinit.c -fPIC -DPIC -o .libs/dotinit.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o flat.lo flat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c flat.c -fPIC -DPIC -o .libs/flat.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fastgr.lo fastgr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fastgr.c -fPIC -DPIC -o .libs/fastgr.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o decomp.lo decomp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c decomp.c -fPIC -DPIC -o .libs/decomp.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o conc.lo conc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c conc.c -fPIC -DPIC -o .libs/conc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compound.lo compound.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compound.c -fPIC -DPIC -o .libs/compound.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o cluster.lo cluster.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c cluster.c -fPIC -DPIC -o .libs/cluster.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o class2.lo class2.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c class2.c -fPIC -DPIC -o .libs/class2.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o class1.lo class1.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c class1.c -fPIC -DPIC -o .libs/class1.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libdotgen_C.la acyclic.lo class1.lo class2.lo cluster.lo compound.lo conc.lo decomp.lo fastgr.lo flat.lo dotinit.lo mincross.lo position.lo rank.lo sameport.lo dotsplines.lo aspect.lo
x86_64-linux-libtool: link: ar cru .libs/libdotgen_C.a .libs/acyclic.o .libs/class1.o .libs/class2.o .libs/cluster.o .libs/compound.o .libs/conc.o .libs/decomp.o .libs/fastgr.o .libs/flat.o .libs/dotinit.o .libs/mincross.o .libs/position.o .libs/rank.o .libs/sameport.o .libs/dotsplines.o .libs/aspect.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libdotgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libdotgen_C.la" && ln -s "../libdotgen_C.la" "libdotgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/dotgen'
Making all in fdpgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/fdpgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o comp.lo comp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c comp.c -fPIC -DPIC -o .libs/comp.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o clusteredges.lo clusteredges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c clusteredges.c -fPIC -DPIC -o .libs/clusteredges.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xlayout.lo xlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xlayout.c -fPIC -DPIC -o .libs/xlayout.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o tlayout.lo tlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c tlayout.c -fPIC -DPIC -o .libs/tlayout.o
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: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: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)) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o layout.lo layout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c layout.c -fPIC -DPIC -o .libs/layout.o
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)
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fdpinit.lo fdpinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fdpinit.c -fPIC -DPIC -o .libs/fdpinit.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o grid.lo grid.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c grid.c -fPIC -DPIC -o .libs/grid.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dbg.lo dbg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dbg.c -fPIC -DPIC -o .libs/dbg.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libfdpgen_C.la comp.lo dbg.lo grid.lo fdpinit.lo layout.lo tlayout.lo xlayout.lo clusteredges.lo
x86_64-linux-libtool: link: ar cru .libs/libfdpgen_C.a .libs/comp.o .libs/dbg.o .libs/grid.o .libs/fdpinit.o .libs/layout.o .libs/tlayout.o .libs/xlayout.o .libs/clusteredges.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libfdpgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libfdpgen_C.la" && ln -s "../libfdpgen_C.la" "libfdpgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/fdpgen'
Making all in neatogen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/neatogen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o adjust.lo adjust.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c adjust.c -fPIC -DPIC -o .libs/adjust.o
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)
^~~
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o quad_prog_solve.lo quad_prog_solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c quad_prog_solve.c -fPIC -DPIC -o .libs/quad_prog_solve.o
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 ‘constrained_majorization_new_with_gaps’:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o smart_ini_x.lo smart_ini_x.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c smart_ini_x.c -fPIC -DPIC -o .libs/smart_ini_x.o
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)) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o constrained_majorization.lo constrained_majorization.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c constrained_majorization.c -fPIC -DPIC -o .libs/constrained_majorization.o
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);
^~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o opt_arrangement.lo opt_arrangement.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c opt_arrangement.c -fPIC -DPIC -o .libs/opt_arrangement.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o overlap.lo overlap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c overlap.c -fPIC -DPIC -o .libs/overlap.o
overlap.c:686:6: warning: no previous prototype for ‘remove_overlap’ [-Wmissing-prototypes]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~~~
overlap.c: In function ‘remove_overlap’:
overlap.c:686:25: warning: unused parameter ‘dim’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~
overlap.c:686:43: warning: unused parameter ‘A’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:50: warning: unused parameter ‘m’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:59: warning: unused parameter ‘x’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:68: warning: unused parameter ‘label_sizes’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~
overlap.c:686:85: warning: unused parameter ‘ntry’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~
overlap.c:686:96: warning: unused parameter ‘initial_scaling’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~~~~
overlap.c:686:117: warning: unused parameter ‘do_shrinking’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~
overlap.c:686:136: warning: unused parameter ‘flag’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o call_tri.lo call_tri.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c call_tri.c -fPIC -DPIC -o .libs/call_tri.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compute_hierarchy.lo compute_hierarchy.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compute_hierarchy.c -fPIC -DPIC -o .libs/compute_hierarchy.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o delaunay.lo delaunay.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c delaunay.c -fPIC -DPIC -o .libs/delaunay.o
delaunay.c:25:5: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if HAVE_GTS
^~~~~~~~
delaunay.c:541:7: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#elif HAVE_TRIANGLE
^~~~~~~~~~~~~
delaunay.c: In function ‘get_triangles’:
delaunay.c:744:29: warning: unused parameter ‘x’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^
delaunay.c:744:36: warning: unused parameter ‘n’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^
delaunay.c:744:44: warning: unused parameter ‘tris’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^~~~
delaunay.c: In function ‘delaunay_triangulation’:
delaunay.c:749:40: warning: unused parameter ‘x’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c:749:51: warning: unused parameter ‘y’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c:749:58: warning: unused parameter ‘n’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c: In function ‘delaunay_tri’:
delaunay.c:754:27: warning: unused parameter ‘x’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:38: warning: unused parameter ‘y’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:45: warning: unused parameter ‘n’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:53: warning: unused parameter ‘nedges’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^~~~~~
delaunay.c: In function ‘mkSurface’:
delaunay.c:760:20: warning: unused parameter ‘x’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:31: warning: unused parameter ‘y’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:38: warning: unused parameter ‘n’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:46: warning: unused parameter ‘segs’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^~~~
delaunay.c:760:56: warning: unused parameter ‘nsegs’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^~~~~
delaunay.c: In function ‘freeSurface’:
delaunay.c:766:25: warning: unused parameter ‘s’ [-Wunused-parameter]
freeSurface (surface_t* s)
^
In file included from delaunay.c:22:0:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o multispline.lo multispline.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c multispline.c -fPIC -DPIC -o .libs/multispline.o
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 <anonymous>}’ [-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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o constraint.lo constraint.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c constraint.c -fPIC -DPIC -o .libs/constraint.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o bfs.lo bfs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c bfs.c -fPIC -DPIC -o .libs/bfs.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o closest.lo closest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c closest.c -fPIC -DPIC -o .libs/closest.o
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 <anonymous>}’ [-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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pca.lo pca.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pca.c -fPIC -DPIC -o .libs/pca.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o conjgrad.lo conjgrad.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c conjgrad.c -fPIC -DPIC -o .libs/conjgrad.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dijkstra.lo dijkstra.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dijkstra.c -fPIC -DPIC -o .libs/dijkstra.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o embed_graph.lo embed_graph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c embed_graph.c -fPIC -DPIC -o .libs/embed_graph.o
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 *);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o matrix_ops.lo matrix_ops.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c matrix_ops.c -fPIC -DPIC -o .libs/matrix_ops.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o kkutils.lo kkutils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c kkutils.c -fPIC -DPIC -o .libs/kkutils.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stress.lo stress.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stress.c -fPIC -DPIC -o .libs/stress.o
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];
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o voronoi.lo voronoi.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c voronoi.c -fPIC -DPIC -o .libs/voronoi.o
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))
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stuff.lo stuff.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stuff.c -fPIC -DPIC -o .libs/stuff.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o neatosplines.lo neatosplines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c neatosplines.c -fPIC -DPIC -o .libs/neatosplines.o
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 <anonymous>}’ [-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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o solve.lo solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c solve.c -fPIC -DPIC -o .libs/solve.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o site.lo site.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c site.c -fPIC -DPIC -o .libs/site.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o printvis.lo printvis.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c printvis.c -fPIC -DPIC -o .libs/printvis.o
printvis.c:19:6: warning: no previous prototype for ‘printvis’ [-Wmissing-prototypes]
void printvis(vconfig_t * cp)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o poly.lo poly.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c poly.c -fPIC -DPIC -o .libs/poly.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o memory.lo memory.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c memory.c -fPIC -DPIC -o .libs/memory.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o matinv.lo matinv.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c matinv.c -fPIC -DPIC -o .libs/matinv.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lu.lo lu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lu.c -fPIC -DPIC -o .libs/lu.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o legal.lo legal.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c legal.c -fPIC -DPIC -o .libs/legal.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o neatoinit.lo neatoinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c neatoinit.c -fPIC -DPIC -o .libs/neatoinit.o
In file included from ../../lib/common/render.h:44:0,
from neato.h:35,
from neatoinit.c:23:
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);
^~~
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);
^~~~~~
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:23: warning: unused parameter ‘mg’ [-Wunused-parameter]
majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int steps, adjust_data* am)
^~
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:1124:102: warning: unused parameter ‘am’ [-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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o info.lo info.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c info.c -fPIC -DPIC -o .libs/info.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o hedges.lo hedges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c hedges.c -fPIC -DPIC -o .libs/hedges.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o heap.lo heap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c heap.c -fPIC -DPIC -o .libs/heap.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o geometry.lo geometry.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c geometry.c -fPIC -DPIC -o .libs/geometry.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edges.lo edges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edges.c -fPIC -DPIC -o .libs/edges.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circuit.lo circuit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circuit.c -fPIC -DPIC -o .libs/circuit.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libneatogen_C.la adjust.lo circuit.lo edges.lo geometry.lo heap.lo hedges.lo info.lo neatoinit.lo legal.lo lu.lo matinv.lo memory.lo poly.lo printvis.lo site.lo solve.lo neatosplines.lo stuff.lo voronoi.lo stress.lo kkutils.lo matrix_ops.lo embed_graph.lo dijkstra.lo conjgrad.lo pca.lo closest.lo bfs.lo constraint.lo quad_prog_solve.lo smart_ini_x.lo constrained_majorization.lo opt_arrangement.lo overlap.lo call_tri.lo compute_hierarchy.lo delaunay.lo multispline.lo
x86_64-linux-libtool: link: ar cru .libs/libneatogen_C.a .libs/adjust.o .libs/circuit.o .libs/edges.o .libs/geometry.o .libs/heap.o .libs/hedges.o .libs/info.o .libs/neatoinit.o .libs/legal.o .libs/lu.o .libs/matinv.o .libs/memory.o .libs/poly.o .libs/printvis.o .libs/site.o .libs/solve.o .libs/neatosplines.o .libs/stuff.o .libs/voronoi.o .libs/stress.o .libs/kkutils.o .libs/matrix_ops.o .libs/embed_graph.o .libs/dijkstra.o .libs/conjgrad.o .libs/pca.o .libs/closest.o .libs/bfs.o .libs/constraint.o .libs/quad_prog_solve.o .libs/smart_ini_x.o .libs/constrained_majorization.o .libs/opt_arrangement.o .libs/overlap.o .libs/call_tri.o .libs/compute_hierarchy.o .libs/delaunay.o .libs/multispline.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libneatogen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libneatogen_C.la" && ln -s "../libneatogen_C.la" "libneatogen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/neatogen'
Making all in twopigen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/twopigen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o twopiinit.lo twopiinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c twopiinit.c -fPIC -DPIC -o .libs/twopiinit.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circle.lo circle.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circle.c -fPIC -DPIC -o .libs/circle.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libtwopigen_C.la twopiinit.lo circle.lo
x86_64-linux-libtool: link: ar cru .libs/libtwopigen_C.a .libs/twopiinit.o .libs/circle.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libtwopigen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libtwopigen_C.la" && ln -s "../libtwopigen_C.la" "libtwopigen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/twopigen'
Making all in sfdpgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfdpgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdpinit.lo sfdpinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdpinit.c -fPIC -DPIC -o .libs/sfdpinit.o
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 ‘late_smooth’:
sfdpinit.c:219:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:219:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
sfdpinit.c:237:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:237:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
sfdpinit.c:243:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:243:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
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_layout’:
sfdpinit.c:341:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:341:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o PriorityQueue.lo PriorityQueue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c PriorityQueue.c -fPIC -DPIC -o .libs/PriorityQueue.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o Multilevel.lo Multilevel.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c Multilevel.c -fPIC -DPIC -o .libs/Multilevel.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o uniform_stress.lo uniform_stress.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c uniform_stress.c -fPIC -DPIC -o .libs/uniform_stress.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stress_model.lo stress_model.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stress_model.c -fPIC -DPIC -o .libs/stress_model.o
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){
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o post_process.lo post_process.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c post_process.c -fPIC -DPIC -o .libs/post_process.o
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){
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sparse_solve.lo sparse_solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sparse_solve.c -fPIC -DPIC -o .libs/sparse_solve.o
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){
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o spring_electrical.lo spring_electrical.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c spring_electrical.c -fPIC -DPIC -o .libs/spring_electrical.o
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);
^~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfdpgen_C.la sfdpinit.lo spring_electrical.lo sparse_solve.lo post_process.lo stress_model.lo uniform_stress.lo Multilevel.lo PriorityQueue.lo
x86_64-linux-libtool: link: ar cru .libs/libsfdpgen_C.a .libs/sfdpinit.o .libs/spring_electrical.o .libs/sparse_solve.o .libs/post_process.o .libs/stress_model.o .libs/uniform_stress.o .libs/Multilevel.o .libs/PriorityQueue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfdpgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfdpgen_C.la" && ln -s "../libsfdpgen_C.la" "libsfdpgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfdpgen'
Making all in osage
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/osage'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o osageinit.lo osageinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c osageinit.c -fPIC -DPIC -o .libs/osageinit.o
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)
^~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libosage_C.la osageinit.lo
x86_64-linux-libtool: link: ar cru .libs/libosage_C.a .libs/osageinit.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libosage_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libosage_C.la" && ln -s "../libosage_C.la" "libosage_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/osage'
Making all in gvpr
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvpr'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mkdefs.o mkdefs.c
mkdefs.c: In function ‘genGuard’:
mkdefs.c:91:17: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
*guard++ = toupper(c);
^~~~~~~
groff -Tps -man ./gvpr.3 | false - - >gvpr.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1118: recipe for target 'gvpr.3.pdf' failed
make[3]: [gvpr.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o mkdefs mkdefs.o
x86_64-linux-libtool: link: gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o mkdefs mkdefs.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib
./mkdefs gdefs.h < ../../lib/gvpr/gprdata
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o actions.lo actions.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c actions.c -fPIC -DPIC -o .libs/actions.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o queue.lo queue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c queue.c -fPIC -DPIC -o .libs/queue.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o parse.lo parse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c parse.c -fPIC -DPIC -o .libs/parse.o
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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gprstate.lo gprstate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gprstate.c -fPIC -DPIC -o .libs/gprstate.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvpr.lo gvpr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvpr.c -fPIC -DPIC -o .libs/gvpr.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compile.lo compile.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compile.c -fPIC -DPIC -o .libs/compile.o
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)
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "2:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvpr.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/actions.o .libs/compile.o .libs/gvpr.o .libs/gprstate.o .libs/parse.o .libs/queue.o -Wl,--whole-archive ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/expr/.libs/libexpr_C.a -Wl,--no-whole-archive -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/cdt/.libs/libcdt.so ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvpr.so.2 -o .libs/libgvpr.so.2.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvpr.so.2" && ln -s "libgvpr.so.2.0.0" "libgvpr.so.2")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvpr.so" && ln -s "libgvpr.so.2.0.0" "libgvpr.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvpr.la" && ln -s "../libgvpr.la" "libgvpr.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvpr_C.la actions.lo compile.lo gvpr.lo gprstate.lo parse.lo queue.lo
x86_64-linux-libtool: link: ar cru .libs/libgvpr_C.a .libs/actions.o .libs/compile.o .libs/gvpr.o .libs/gprstate.o .libs/parse.o .libs/queue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvpr_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvpr_C.la" && ln -s "../libgvpr_C.la" "libgvpr_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvpr'
Making all in spine
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/spine'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o quad.lo quad.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c quad.c -fPIC -DPIC -o .libs/quad.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o union_find.lo union_find.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c union_find.c -fPIC -DPIC -o .libs/union_find.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o subset.lo subset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c subset.c -fPIC -DPIC -o .libs/subset.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o spine.lo spine.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c spine.c -fPIC -DPIC -o .libs/spine.o
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);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libspine_C.la quad.lo spine.lo subset.lo union_find.lo
x86_64-linux-libtool: link: ar cru .libs/libspine_C.a .libs/quad.o .libs/spine.o .libs/subset.o .libs/union_find.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libspine_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libspine_C.la" && ln -s "../libspine_C.la" "libspine_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/spine'
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
Making all in plugin
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin'
Making all in core
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/core'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin_core.lo gvplugin_core.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin_core.c -fPIC -DPIC -o .libs/gvplugin_core.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage_core.lo gvloadimage_core.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage_core.c -fPIC -DPIC -o .libs/gvloadimage_core.o
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: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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_pic.lo gvrender_core_pic.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_pic.c -fPIC -DPIC -o .libs/gvrender_core_pic.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_pov.lo gvrender_core_pov.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_pov.c -fPIC -DPIC -o .libs/gvrender_core_pov.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_vml.lo gvrender_core_vml.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_vml.c -fPIC -DPIC -o .libs/gvrender_core_vml.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_tk.lo gvrender_core_tk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_tk.c -fPIC -DPIC -o .libs/gvrender_core_tk.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_svg.lo gvrender_core_svg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_svg.c -fPIC -DPIC -o .libs/gvrender_core_svg.o
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)
^~~~~~~~~~~~
gawk -f ../../awk/stringize.awk ./ps.txt > ps.h
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_mp.lo gvrender_core_mp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_mp.c -fPIC -DPIC -o .libs/gvrender_core_mp.o
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;
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_ps.lo gvrender_core_ps.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_ps.c -fPIC -DPIC -o .libs/gvrender_core_ps.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_map.lo gvrender_core_map.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_map.c -fPIC -DPIC -o .libs/gvrender_core_map.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_fig.lo gvrender_core_fig.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_fig.c -fPIC -DPIC -o .libs/gvrender_core_fig.o
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;
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_json.lo gvrender_core_json.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_json.c -fPIC -DPIC -o .libs/gvrender_core_json.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_dot.lo gvrender_core_dot.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_dot.c -fPIC -DPIC -o .libs/gvrender_core_dot.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvplugin_core_C.la 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
x86_64-linux-libtool: link: ar cru .libs/libgvplugin_core_C.a .libs/gvplugin_core.o .libs/gvrender_core_dot.o .libs/gvrender_core_json.o .libs/gvrender_core_fig.o .libs/gvrender_core_map.o .libs/gvrender_core_mp.o .libs/gvrender_core_ps.o .libs/gvrender_core_svg.o .libs/gvrender_core_tk.o .libs/gvrender_core_vml.o .libs/gvrender_core_pov.o .libs/gvrender_core_pic.o .libs/gvloadimage_core.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvplugin_core_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvplugin_core_C.la" && ln -s "../libgvplugin_core_C.la" "libgvplugin_core_C.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info 6:0:0 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvplugin_core.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/gvplugin_core.o .libs/gvrender_core_dot.o .libs/gvrender_core_json.o .libs/gvrender_core_fig.o .libs/gvrender_core_map.o .libs/gvrender_core_mp.o .libs/gvrender_core_ps.o .libs/gvrender_core_svg.o .libs/gvrender_core_tk.o .libs/gvrender_core_vml.o .libs/gvrender_core_pov.o .libs/gvrender_core_pic.o .libs/gvloadimage_core.o -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/gvc/.libs/libgvc.so -L/usr/lib64 -lltdl TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs/libxdot.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs/libpathplan.so -lexpat -lz -lm ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so ../../lib/cdt/.libs/libcdt.so -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvplugin_core.so.6 -o .libs/libgvplugin_core.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvplugin_core.so.6" && ln -s "libgvplugin_core.so.6.0.0" "libgvplugin_core.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvplugin_core.so" && ln -s "libgvplugin_core.so.6.0.0" "libgvplugin_core.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvplugin_core.la" && ln -s "../libgvplugin_core.la" "libgvplugin_core.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/core'
Making all in devil
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/devil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/devil'
Making all in gd
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gd'
Making all in gdk
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdk'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdk'
Making all in gdiplus
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdiplus'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdiplus'
Making all in glitz
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/glitz'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/glitz'
Making all in gs
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gs'
Making all in gtk
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gtk'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gtk'
Making all in lasi
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/lasi'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/lasi'
Making all in ming
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/ming'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/ming'
Making all in pango
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/pango'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin_pango.lo gvplugin_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin_pango.c -fPIC -DPIC -o .libs/gvplugin_pango.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage_pango.lo gvloadimage_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage_pango.c -fPIC -DPIC -o .libs/gvloadimage_pango.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtextlayout_pango.lo gvtextlayout_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtextlayout_pango.c -fPIC -DPIC -o .libs/gvtextlayout_pango.o
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:140:10: error: unknown type name ‘FT_Face’
FT_Face face;
^~~~~~~
gvtextlayout_pango.c:142:10: error: unknown type name ‘FT_Stream’
FT_Stream stream;
^~~~~~~~~
gvtextlayout_pango.c:143:10: error: unknown type name ‘FT_StreamDesc’
FT_StreamDesc streamdesc;
^~~~~~~~~~~~~
gvtextlayout_pango.c:145:10: warning: ‘pango_fc_font_lock_face’ is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations]
face = pango_fc_font_lock_face(fcfont);
^~~~
In file included from gvtextlayout_pango.c:27:0:
TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0/pango/pangofc-font.h:67:12: note: declared here
gpointer pango_fc_font_lock_face (PangoFcFont *font);
^~~~~~~~~~~~~~~~~~~~~~~
gvtextlayout_pango.c:145:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
face = pango_fc_font_lock_face(fcfont);
^
gvtextlayout_pango.c:148:23: error: invalid type argument of ‘->’ (have ‘int’)
strcat(buf, face->family_name);
^~
gvtextlayout_pango.c:150:23: error: invalid type argument of ‘->’ (have ‘int’)
strcat(buf, face->style_name);
^~
gvtextlayout_pango.c:153:20: error: invalid type argument of ‘->’ (have ‘int’)
stream = face->stream;
^~
gvtextlayout_pango.c:155:23: error: invalid type argument of ‘->’ (have ‘int’)
streamdesc = stream->pathname;
^~
gvtextlayout_pango.c:156:18: error: request for member ‘pointer’ in something not a structure or union
if (streamdesc.pointer)
^
gvtextlayout_pango.c:157:37: error: request for member ‘pointer’ in something not a structure or union
strcat(buf, (char*)streamdesc.pointer);
^
gvtextlayout_pango.c:164:10: warning: ‘pango_fc_font_unlock_face’ is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations]
pango_fc_font_unlock_face(fcfont);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gvtextlayout_pango.c:27:0:
TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0/pango/pangofc-font.h:69:12: note: declared here
void pango_fc_font_unlock_face (PangoFcFont *font);
^~~~~~~~~~~~~~~~~~~~~~~~~
gvtextlayout_pango.c:143:24: warning: variable ‘streamdesc’ set but not used [-Wunused-but-set-variable]
FT_StreamDesc streamdesc;
^~~~~~~~~~
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 */
^~~
Makefile:767: recipe for target 'gvtextlayout_pango.lo' failed
make[3]: *** [gvtextlayout_pango.lo] Error 1
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/pango'
Makefile:582: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin'
Makefile:827: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1'
Makefile:637: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/temp/run.do_compile.18085:1 exit 1 from 'exit 1'
ERROR: Execution of 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/temp/run.do_compile.18085' failed with exit code 1:
TOPDIR/build/tmpfs/hosttools/grep -E 'PACKAGE|VERSION|GVPLUGIN' config.h > ./graphviz_version.h
make all-recursive
make[1]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1'
Making all in libltdl
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
make all-am
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o lt__strl.lo lt__strl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt__strl.c -fPIC -DPIC -o .libs/lt__strl.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-slist.lo `test -f 'slist.c' || echo './'`slist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c slist.c -fPIC -DPIC -o .libs/libltdlc_la-slist.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c ltdl.c -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt_error.c -fPIC -DPIC -o .libs/libltdlc_la-lt_error.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt_dlloader.c -fPIC -DPIC -o .libs/libltdlc_la-lt_dlloader.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o libltdlc_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c lt__alloc.c -fPIC -DPIC -o .libs/libltdlc_la-lt__alloc.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o loaders/dlopen.lo loaders/dlopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c loaders/dlopen.c -fPIC -DPIC -o loaders/.libs/dlopen.o
./x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o loaders/libltdlc_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c loaders/preopen.c -fPIC -DPIC -o loaders/.libs/libltdlc_la-preopen.o
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -module -avoid-version -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o dlopen.la loaders/dlopen.lo -ldl
x86_64-linux-libtool: link: ar cru .libs/dlopen.a loaders/.libs/dlopen.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/dlopen.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
./x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -no-undefined -dlpreopen dlopen.la -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o libltdlc.la loaders/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 lt__strl.lo
x86_64-linux-libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT
x86_64-linux-libtool: link: rm -f ".libs/libltdlc.nmI"
x86_64-linux-libtool: link: (cd .libs && gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -fno-builtin -fPIC -DPIC "libltdlcS.c")
x86_64-linux-libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT" ".libs/libltdlc.nmI"
x86_64-linux-libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl/./.libs/dlopen.a")
x86_64-linux-libtool: link: ar cru .libs/libltdlc.a loaders/.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/lt__strl.o .libs/libltdlcS.o .libs/libltdlc.lax/dlopen.a/dlopen.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libltdlc.a
x86_64-linux-libtool: link: rm -fr .libs/libltdlc.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/libltdl'
Making all in lib
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
Making all in cdt
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtclose.lo dtclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtclose.c -fPIC -DPIC -o .libs/dtclose.o
groff -Tps -man ./cdt.3 | false - - >cdt.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1110: recipe for target 'cdt.3.pdf' failed
make[3]: [cdt.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtwalk.lo dtwalk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtwalk.c -fPIC -DPIC -o .libs/dtwalk.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtview.lo dtview.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtview.c -fPIC -DPIC -o .libs/dtview.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dttreeset.lo dttreeset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dttreeset.c -fPIC -DPIC -o .libs/dttreeset.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dttree.lo dttree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dttree.c -fPIC -DPIC -o .libs/dttree.o
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)) )
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtstrhash.lo dtstrhash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtstrhash.c -fPIC -DPIC -o .libs/dtstrhash.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtstat.lo dtstat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtstat.c -fPIC -DPIC -o .libs/dtstat.o
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))) )
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtsize.lo dtsize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtsize.c -fPIC -DPIC -o .libs/dtsize.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtrestore.lo dtrestore.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtrestore.c -fPIC -DPIC -o .libs/dtrestore.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtrenew.lo dtrenew.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtrenew.c -fPIC -DPIC -o .libs/dtrenew.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtopen.lo dtopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtopen.c -fPIC -DPIC -o .libs/dtopen.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtmethod.lo dtmethod.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtmethod.c -fPIC -DPIC -o .libs/dtmethod.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtlist.lo dtlist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtlist.c -fPIC -DPIC -o .libs/dtlist.o
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)) )
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dthash.lo dthash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dthash.c -fPIC -DPIC -o .libs/dthash.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtflatten.lo dtflatten.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtflatten.c -fPIC -DPIC -o .libs/dtflatten.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtextract.lo dtextract.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtextract.c -fPIC -DPIC -o .libs/dtextract.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dtdisc.lo dtdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dtdisc.c -fPIC -DPIC -o .libs/dtdisc.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "5:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcdt.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib dtclose.lo dtdisc.lo dtextract.lo dtflatten.lo dthash.lo dtlist.lo dtmethod.lo dtopen.lo dtrenew.lo dtrestore.lo dtsize.lo dtstat.lo dtstrhash.lo dttree.lo dttreeset.lo dtview.lo dtwalk.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/dtclose.o .libs/dtdisc.o .libs/dtextract.o .libs/dtflatten.o .libs/dthash.o .libs/dtlist.o .libs/dtmethod.o .libs/dtopen.o .libs/dtrenew.o .libs/dtrestore.o .libs/dtsize.o .libs/dtstat.o .libs/dtstrhash.o .libs/dttree.o .libs/dttreeset.o .libs/dtview.o .libs/dtwalk.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libcdt.so.5 -o .libs/libcdt.so.5.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcdt.so.5" && ln -s "libcdt.so.5.0.0" "libcdt.so.5")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcdt.so" && ln -s "libcdt.so.5.0.0" "libcdt.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcdt.la" && ln -s "../libcdt.la" "libcdt.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcdt_C.la dtclose.lo dtdisc.lo dtextract.lo dtflatten.lo dthash.lo dtlist.lo dtmethod.lo dtopen.lo dtrenew.lo dtrestore.lo dtsize.lo dtstat.lo dtstrhash.lo dttree.lo dttreeset.lo dtview.lo dtwalk.lo
x86_64-linux-libtool: link: ar cru .libs/libcdt_C.a .libs/dtclose.o .libs/dtdisc.o .libs/dtextract.o .libs/dtflatten.o .libs/dthash.o .libs/dtlist.o .libs/dtmethod.o .libs/dtopen.o .libs/dtrenew.o .libs/dtrestore.o .libs/dtsize.o .libs/dtstat.o .libs/dtstrhash.o .libs/dttree.o .libs/dttreeset.o .libs/dtview.o .libs/dtwalk.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcdt_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcdt_C.la" && ln -s "../libcdt_C.la" "libcdt_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt'
Making all in cgraph
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o agerror.lo agerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c agerror.c -fPIC -DPIC -o .libs/agerror.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
groff -Tps -man ./cgraph.3 | false - - >cgraph.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1177: recipe for target 'cgraph.3.pdf' failed
make[3]: [cgraph.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o write.lo write.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c write.c -fPIC -DPIC -o .libs/write.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o utils.lo utils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c utils.c -fPIC -DPIC -o .libs/utils.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o subg.lo subg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c subg.c -fPIC -DPIC -o .libs/subg.o
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);
^
flex -i ../../lib/cgraph/scan.l
sed "s/yy/aag/g" < lex.yy.c | sed '/extern.*isatty/d' > scan.c
rm lex.yy.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o refstr.lo refstr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c refstr.c -fPIC -DPIC -o .libs/refstr.o
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);
~~~~~~~~~~~~~^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rec.lo rec.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rec.c -fPIC -DPIC -o .libs/rec.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pend.lo pend.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pend.c -fPIC -DPIC -o .libs/pend.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o obj.lo obj.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c obj.c -fPIC -DPIC -o .libs/obj.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node.lo node.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node.c -fPIC -DPIC -o .libs/node.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mem.lo mem.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mem.c -fPIC -DPIC -o .libs/mem.o
mem.c: In function ‘memopen’:
mem.c:17:32: warning: unused parameter ‘disc’ [-Wunused-parameter]
static void *memopen(Agdisc_t* disc)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o io.lo io.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c io.c -fPIC -DPIC -o .libs/io.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o imap.lo imap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c imap.c -fPIC -DPIC -o .libs/imap.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o id.lo id.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c id.c -fPIC -DPIC -o .libs/id.o
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);
^~~~~~
bison -y -dv ../../lib/cgraph/grammar.y
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o graph.lo graph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c graph.c -fPIC -DPIC -o .libs/graph.o
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)
^~~~~~~
sed "s/yy/aag/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > grammar.h
sed "s/yy/aag/g" < y.tab.c | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > grammar.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o scan.lo scan.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c scan.c -fPIC -DPIC -o .libs/scan.o
../../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--) {
^~~~~~~
../../lib/cgraph/scan.l: In function ‘aaglex’:
lex.aag.c:185: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:1272:8: warning: switch missing default case [-Wswitch-default]
lex.aag.c: In function ‘aag_get_next_buffer’:
lex.aag.c:279:34: warning: conversion to ‘int’ from ‘aag_size_t {aka long unsigned int}’ may alter its value [-Wconversion]
lex.aag.c:1388:4: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
lex.aag.c:279:34: warning: conversion to ‘int’ from ‘aag_size_t {aka long unsigned int}’ may alter its value [-Wconversion]
lex.aag.c:1422:18: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
../../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:1431: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:1431:3: note: in expansion of macro ‘YY_INPUT’
lex.aag.c: In function ‘input’:
lex.aag.c:1596: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:1599:4: warning: switch missing default case [-Wswitch-default]
../../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:1576:16: warning: ‘input’ defined but not used [-Wunused-function]
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o grammar.lo grammar.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c grammar.c -fPIC -DPIC -o .libs/grammar.o
../../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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o flatten.lo flatten.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c flatten.c -fPIC -DPIC -o .libs/flatten.o
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)
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edge.lo edge.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edge.c -fPIC -DPIC -o .libs/edge.o
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)
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o attr.lo attr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c attr.c -fPIC -DPIC -o .libs/attr.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o apply.lo apply.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c apply.c -fPIC -DPIC -o .libs/apply.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o agxbuf.lo agxbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c agxbuf.c -fPIC -DPIC -o .libs/agxbuf.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "6:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcgraph.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/agerror.o .libs/agxbuf.o .libs/apply.o .libs/attr.o .libs/edge.o .libs/flatten.o .libs/graph.o .libs/grammar.o .libs/id.o .libs/imap.o .libs/io.o .libs/mem.o .libs/node.o .libs/obj.o .libs/pend.o .libs/rec.o .libs/refstr.o .libs/scan.o .libs/subg.o .libs/utils.o .libs/write.o -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/cdt/.libs/libcdt.so -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libcgraph.so.6 -o .libs/libcgraph.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcgraph.so.6" && ln -s "libcgraph.so.6.0.0" "libcgraph.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libcgraph.so" && ln -s "libcgraph.so.6.0.0" "libcgraph.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcgraph.la" && ln -s "../libcgraph.la" "libcgraph.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcgraph_C.la 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
x86_64-linux-libtool: link: ar cru .libs/libcgraph_C.a .libs/agerror.o .libs/agxbuf.o .libs/apply.o .libs/attr.o .libs/edge.o .libs/flatten.o .libs/graph.o .libs/grammar.o .libs/id.o .libs/imap.o .libs/io.o .libs/mem.o .libs/node.o .libs/obj.o .libs/pend.o .libs/rec.o .libs/refstr.o .libs/scan.o .libs/subg.o .libs/utils.o .libs/write.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcgraph_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcgraph_C.la" && ln -s "../libcgraph_C.la" "libcgraph_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph'
Making all in pathplan
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o cvt.lo cvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c cvt.c -fPIC -DPIC -o .libs/cvt.o
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));
^
groff -Tps -man ./pathplan.3 | false - - >pathplan.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1078: recipe for target 'pathplan.3.pdf' failed
make[3]: [pathplan.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o visibility.lo visibility.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c visibility.c -fPIC -DPIC -o .libs/visibility.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o util.lo util.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c util.c -fPIC -DPIC -o .libs/util.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o triang.lo triang.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c triang.c -fPIC -DPIC -o .libs/triang.o
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 *));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o solvers.lo solvers.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c solvers.c -fPIC -DPIC -o .libs/solvers.o
solvers.c: In function ‘solve2’:
solvers.c:90:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
else if (disc == 0) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shortestpth.lo shortestpth.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shortestpth.c -fPIC -DPIC -o .libs/shortestpth.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shortest.lo shortest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shortest.c -fPIC -DPIC -o .libs/shortest.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o route.lo route.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o inpoly.lo inpoly.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c route.c -fPIC -DPIC -o .libs/route.o
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c inpoly.c -fPIC -DPIC -o .libs/inpoly.o
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))) {
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "4:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpathplan.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib cvt.lo inpoly.lo route.lo shortest.lo shortestpth.lo solvers.lo triang.lo util.lo visibility.lo -lm
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/cvt.o .libs/inpoly.o .libs/route.o .libs/shortest.o .libs/shortestpth.o .libs/solvers.o .libs/triang.o .libs/util.o .libs/visibility.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libpathplan.so.4 -o .libs/libpathplan.so.4.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libpathplan.so.4" && ln -s "libpathplan.so.4.0.0" "libpathplan.so.4")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libpathplan.so" && ln -s "libpathplan.so.4.0.0" "libpathplan.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpathplan.la" && ln -s "../libpathplan.la" "libpathplan.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpathplan_C.la cvt.lo inpoly.lo route.lo shortest.lo shortestpth.lo solvers.lo triang.lo util.lo visibility.lo
x86_64-linux-libtool: link: ar cru .libs/libpathplan_C.a .libs/cvt.o .libs/inpoly.o .libs/route.o .libs/shortest.o .libs/shortestpth.o .libs/solvers.o .libs/triang.o .libs/util.o .libs/visibility.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpathplan_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpathplan_C.la" && ln -s "../libpathplan_C.la" "libpathplan_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan'
Making all in sfio
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
Making all in Sfio_f
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio/Sfio_f'
mkdir -p ../../../FEATURE
../../../iffe - set cc gcc : run ../../../lib/sfio/features/sfio > ../../../FEATURE/sfio
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfclrerr.lo _sfclrerr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfclrerr.c -fPIC -DPIC -o .libs/_sfclrerr.o
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);
^~~~~~~~~~~
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfvalue.lo _sfvalue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfvalue.c -fPIC -DPIC -o .libs/_sfvalue.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfulen.lo _sfulen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfulen.c -fPIC -DPIC -o .libs/_sfulen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfstacked.lo _sfstacked.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfstacked.c -fPIC -DPIC -o .libs/_sfstacked.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfslen.lo _sfslen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfslen.c -fPIC -DPIC -o .libs/_sfslen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputu.lo _sfputu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputu.c -fPIC -DPIC -o .libs/_sfputu.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputm.lo _sfputm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputm.c -fPIC -DPIC -o .libs/_sfputm.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputl.lo _sfputl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputl.c -fPIC -DPIC -o .libs/_sfputl.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputd.lo _sfputd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputd.c -fPIC -DPIC -o .libs/_sfputd.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfputc.lo _sfputc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfputc.c -fPIC -DPIC -o .libs/_sfputc.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfllen.lo _sfllen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfllen.c -fPIC -DPIC -o .libs/_sfllen.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfgetc.lo _sfgetc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfgetc.c -fPIC -DPIC -o .libs/_sfgetc.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sffileno.lo _sffileno.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sffileno.c -fPIC -DPIC -o .libs/_sffileno.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sferror.lo _sferror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sferror.c -fPIC -DPIC -o .libs/_sferror.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfeof.lo _sfeof.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfeof.c -fPIC -DPIC -o .libs/_sfeof.o
../../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o _sfdlen.lo _sfdlen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c _sfdlen.c -fPIC -DPIC -o .libs/_sfdlen.o
../../../x86_64-linux-libtool --tag=CC --mode=link gcc -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfiof_C.la _sfclrerr.lo _sfdlen.lo _sfeof.lo _sferror.lo _sffileno.lo _sfgetc.lo _sfllen.lo _sfputc.lo _sfputd.lo _sfputl.lo _sfputm.lo _sfputu.lo _sfslen.lo _sfstacked.lo _sfulen.lo _sfvalue.lo
x86_64-linux-libtool: link: ar cru .libs/libsfiof_C.a .libs/_sfclrerr.o .libs/_sfdlen.o .libs/_sfeof.o .libs/_sferror.o .libs/_sffileno.o .libs/_sfgetc.o .libs/_sfllen.o .libs/_sfputc.o .libs/_sfputd.o .libs/_sfputl.o .libs/_sfputm.o .libs/_sfputu.o .libs/_sfslen.o .libs/_sfstacked.o .libs/_sfulen.o .libs/_sfvalue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfiof_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfiof_C.la" && ln -s "../libsfiof_C.la" "libsfiof_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio/Sfio_f'
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfclose.lo sfclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfclose.c -fPIC -DPIC -o .libs/sfclose.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfprints.lo sfprints.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfprints.c -fPIC -DPIC -o .libs/sfprints.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpurge.lo sfpurge.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpurge.c -fPIC -DPIC -o .libs/sfpurge.o
sfpurge.c: In function ‘sfpurge’:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputd.lo sfputd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputd.c -fPIC -DPIC -o .libs/sfputd.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputl.lo sfputl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputl.c -fPIC -DPIC -o .libs/sfputl.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputm.lo sfputm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputm.c -fPIC -DPIC -o .libs/sfputm.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputr.lo sfputr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputr.c -fPIC -DPIC -o .libs/sfputr.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfputu.lo sfputu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfputu.c -fPIC -DPIC -o .libs/sfputu.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfraise.lo sfraise.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfraise.c -fPIC -DPIC -o .libs/sfraise.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfrd.lo sfrd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfrd.c -fPIC -DPIC -o .libs/sfrd.o
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: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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfread.lo sfread.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfread.c -fPIC -DPIC -o .libs/sfread.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfreserve.lo sfreserve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfreserve.c -fPIC -DPIC -o .libs/sfreserve.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfresize.lo sfresize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfresize.c -fPIC -DPIC -o .libs/sfresize.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfscanf.lo sfscanf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfscanf.c -fPIC -DPIC -o .libs/sfscanf.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfseek.lo sfseek.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfseek.c -fPIC -DPIC -o .libs/sfseek.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfset.lo sfset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfset.c -fPIC -DPIC -o .libs/sfset.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsetbuf.lo sfsetbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsetbuf.c -fPIC -DPIC -o .libs/sfsetbuf.o
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: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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsetfd.lo sfsetfd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsetfd.c -fPIC -DPIC -o .libs/sfsetfd.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsize.lo sfsize.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsize.c -fPIC -DPIC -o .libs/sfsize.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsk.lo sfsk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsk.c -fPIC -DPIC -o .libs/sfsk.o
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);
^~~~~~~~
sfsk.c:36:5: warning: "MAP_TYPE" is not defined, evaluates to 0 [-Wundef]
#if MAP_TYPE
^~~~~~~~
In file included from sfsk.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; \
^
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfstack.lo sfstack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfstack.c -fPIC -DPIC -o .libs/sfstack.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfstrtod.lo sfstrtod.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfstrtod.c -fPIC -DPIC -o .libs/sfstrtod.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfswap.lo sfswap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfswap.c -fPIC -DPIC -o .libs/sfswap.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfsync.lo sfsync.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfsync.c -fPIC -DPIC -o .libs/sfsync.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftable.lo sftable.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftable.c -fPIC -DPIC -o .libs/sftable.o
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 '*':
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftell.lo sftell.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftell.c -fPIC -DPIC -o .libs/sftell.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sftmp.lo sftmp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sftmp.c -fPIC -DPIC -o .libs/sftmp.o
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
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfungetc.lo sfungetc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfungetc.c -fPIC -DPIC -o .libs/sfungetc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfvprintf.lo sfvprintf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfvprintf.c -fPIC -DPIC -o .libs/sfvprintf.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfvscanf.lo sfvscanf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfvscanf.c -fPIC -DPIC -o .libs/sfvscanf.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfwr.lo sfwr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfwr.c -fPIC -DPIC -o .libs/sfwr.o
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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfwrite.lo sfwrite.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfwrite.c -fPIC -DPIC -o .libs/sfwrite.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfprintf.lo sfprintf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfprintf.c -fPIC -DPIC -o .libs/sfprintf.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpopen.lo sfpopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpopen.c -fPIC -DPIC -o .libs/sfpopen.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpool.lo sfpool.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpool.c -fPIC -DPIC -o .libs/sfpool.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpoll.lo sfpoll.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpoll.c -fPIC -DPIC -o .libs/sfpoll.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfpkrd.lo sfpkrd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfpkrd.c -fPIC -DPIC -o .libs/sfpkrd.o
sfpkrd.c: In function ‘sfpkrd’:
sfpkrd.c:66:28: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion]
pbuf.databuf.maxlen = n;
^
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfopen.lo sfopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfopen.c -fPIC -DPIC -o .libs/sfopen.o
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
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnputc.lo sfnputc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnputc.c -fPIC -DPIC -o .libs/sfnputc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnotify.lo sfnotify.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnotify.c -fPIC -DPIC -o .libs/sfnotify.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfnew.lo sfnew.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfnew.c -fPIC -DPIC -o .libs/sfnew.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmutex.lo sfmutex.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmutex.c -fPIC -DPIC -o .libs/sfmutex.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmove.lo sfmove.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmove.c -fPIC -DPIC -o .libs/sfmove.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfmode.lo sfmode.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfmode.c -fPIC -DPIC -o .libs/sfmode.o
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: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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfllen.lo sfllen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfllen.c -fPIC -DPIC -o .libs/sfllen.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetu.lo sfgetu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetu.c -fPIC -DPIC -o .libs/sfgetu.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetr.lo sfgetr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetr.c -fPIC -DPIC -o .libs/sfgetr.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetm.lo sfgetm.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetm.c -fPIC -DPIC -o .libs/sfgetm.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetl.lo sfgetl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetl.c -fPIC -DPIC -o .libs/sfgetl.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfgetd.lo sfgetd.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfgetd.c -fPIC -DPIC -o .libs/sfgetd.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfflsbuf.lo sfflsbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfflsbuf.c -fPIC -DPIC -o .libs/sfflsbuf.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sffilbuf.lo sffilbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sffilbuf.c -fPIC -DPIC -o .libs/sffilbuf.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sffcvt.lo sffcvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sffcvt.c -fPIC -DPIC -o .libs/sffcvt.o
sffcvt.c:22:7: warning: no previous prototype for ‘sffcvt’ [-Wmissing-prototypes]
char *sffcvt(double dval, int n_digit, int *decpt, int *sign)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfextern.lo sfextern.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfextern.c -fPIC -DPIC -o .libs/sfextern.o
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 */
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfexit.lo sfexit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfexit.c -fPIC -DPIC -o .libs/sfexit.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfexcept.lo sfexcept.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfexcept.c -fPIC -DPIC -o .libs/sfexcept.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdlen.lo sfdlen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdlen.c -fPIC -DPIC -o .libs/sfdlen.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdisc.lo sfdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdisc.c -fPIC -DPIC -o .libs/sfdisc.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfcvt.lo sfcvt.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfcvt.c -fPIC -DPIC -o .libs/sfcvt.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfclrlock.lo sfclrlock.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfclrlock.c -fPIC -DPIC -o .libs/sfclrlock.o
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);
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -Dvt_threaded=0 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfio_C.la sfclose.lo sfclrlock.lo sfcvt.lo sfdisc.lo sfdlen.lo sfexcept.lo sfexit.lo sfextern.lo sffcvt.lo sffilbuf.lo sfflsbuf.lo sfgetd.lo sfgetl.lo sfgetm.lo sfgetr.lo sfgetu.lo sfllen.lo sfmode.lo sfmove.lo sfmutex.lo sfnew.lo sfnotify.lo sfnputc.lo sfopen.lo sfpkrd.lo sfpoll.lo sfpool.lo sfpopen.lo sfprintf.lo sfprints.lo sfpurge.lo sfputd.lo sfputl.lo sfputm.lo sfputr.lo sfputu.lo sfraise.lo sfrd.lo sfread.lo sfreserve.lo sfresize.lo sfscanf.lo sfseek.lo sfset.lo sfsetbuf.lo sfsetfd.lo sfsize.lo sfsk.lo sfstack.lo sfstrtod.lo sfswap.lo sfsync.lo sftable.lo sftell.lo sftmp.lo sfungetc.lo sfvprintf.lo sfvscanf.lo sfwr.lo sfwrite.lo
x86_64-linux-libtool: link: ar cru .libs/libsfio_C.a .libs/sfclose.o .libs/sfclrlock.o .libs/sfcvt.o .libs/sfdisc.o .libs/sfdlen.o .libs/sfexcept.o .libs/sfexit.o .libs/sfextern.o .libs/sffcvt.o .libs/sffilbuf.o .libs/sfflsbuf.o .libs/sfgetd.o .libs/sfgetl.o .libs/sfgetm.o .libs/sfgetr.o .libs/sfgetu.o .libs/sfllen.o .libs/sfmode.o .libs/sfmove.o .libs/sfmutex.o .libs/sfnew.o .libs/sfnotify.o .libs/sfnputc.o .libs/sfopen.o .libs/sfpkrd.o .libs/sfpoll.o .libs/sfpool.o .libs/sfpopen.o .libs/sfprintf.o .libs/sfprints.o .libs/sfpurge.o .libs/sfputd.o .libs/sfputl.o .libs/sfputm.o .libs/sfputr.o .libs/sfputu.o .libs/sfraise.o .libs/sfrd.o .libs/sfread.o .libs/sfreserve.o .libs/sfresize.o .libs/sfscanf.o .libs/sfseek.o .libs/sfset.o .libs/sfsetbuf.o .libs/sfsetfd.o .libs/sfsize.o .libs/sfsk.o .libs/sfstack.o .libs/sfstrtod.o .libs/sfswap.o .libs/sfsync.o .libs/sftable.o .libs/sftell.o .libs/sftmp.o .libs/sfungetc.o .libs/sfvprintf.o .libs/sfvscanf.o .libs/sfwr.o .libs/sfwrite.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfio_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfio_C.la" && ln -s "../libsfio_C.la" "libsfio_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfio'
Making all in vmalloc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vmalloc'
mkdir -p ../../FEATURE
../../iffe - set cc gcc : run ../../lib/vmalloc/features/vmalloc > ../../FEATURE/vmalloc
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o malloc.lo malloc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c malloc.c -fPIC -DPIC -o .libs/malloc.o
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
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmwalk.lo vmwalk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmwalk.c -fPIC -DPIC -o .libs/vmwalk.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmtrace.lo vmtrace.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmtrace.c -fPIC -DPIC -o .libs/vmtrace.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmstrdup.lo vmstrdup.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmstrdup.c -fPIC -DPIC -o .libs/vmstrdup.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmstat.lo vmstat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmstat.c -fPIC -DPIC -o .libs/vmstat.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmset.lo vmset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmset.c -fPIC -DPIC -o .libs/vmset.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmsegment.lo vmsegment.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmsegment.c -fPIC -DPIC -o .libs/vmsegment.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmregion.lo vmregion.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmregion.c -fPIC -DPIC -o .libs/vmregion.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmprofile.lo vmprofile.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmprofile.c -fPIC -DPIC -o .libs/vmprofile.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmprivate.lo vmprivate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmprivate.c -fPIC -DPIC -o .libs/vmprivate.o
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)));
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmpool.lo vmpool.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmpool.c -fPIC -DPIC -o .libs/vmpool.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmopen.lo vmopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmopen.c -fPIC -DPIC -o .libs/vmopen.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmlast.lo vmlast.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmlast.c -fPIC -DPIC -o .libs/vmlast.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdisc.lo vmdisc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdisc.c -fPIC -DPIC -o .libs/vmdisc.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdebug.lo vmdebug.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdebug.c -fPIC -DPIC -o .libs/vmdebug.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmdcheap.lo vmdcheap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmdcheap.c -fPIC -DPIC -o .libs/vmdcheap.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmclose.lo vmclose.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmclose.c -fPIC -DPIC -o .libs/vmclose.o
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
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmclear.lo vmclear.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmclear.c -fPIC -DPIC -o .libs/vmclear.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vmbest.lo vmbest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vmbest.c -fPIC -DPIC -o .libs/vmbest.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libvmalloc_C.la malloc.lo vmbest.lo vmclear.lo vmclose.lo vmdcheap.lo vmdebug.lo vmdisc.lo vmlast.lo vmopen.lo vmpool.lo vmprivate.lo vmprofile.lo vmregion.lo vmsegment.lo vmset.lo vmstat.lo vmstrdup.lo vmtrace.lo vmwalk.lo
x86_64-linux-libtool: link: ar cru .libs/libvmalloc_C.a .libs/malloc.o .libs/vmbest.o .libs/vmclear.o .libs/vmclose.o .libs/vmdcheap.o .libs/vmdebug.o .libs/vmdisc.o .libs/vmlast.o .libs/vmopen.o .libs/vmpool.o .libs/vmprivate.o .libs/vmprofile.o .libs/vmregion.o .libs/vmsegment.o .libs/vmset.o .libs/vmstat.o .libs/vmstrdup.o .libs/vmtrace.o .libs/vmwalk.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libvmalloc_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libvmalloc_C.la" && ln -s "../libvmalloc_C.la" "libvmalloc_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vmalloc'
Making all in ast
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ast'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathpath.lo pathpath.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathpath.c -fPIC -DPIC -o .libs/pathpath.o
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)) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strerror.lo strerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strerror.c -fPIC -DPIC -o .libs/strerror.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strton.lo strton.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strton.c -fPIC -DPIC -o .libs/strton.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strmatch.lo strmatch.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strmatch.c -fPIC -DPIC -o .libs/strmatch.o
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 +
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stresc.lo stresc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stresc.c -fPIC -DPIC -o .libs/stresc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o strcopy.lo strcopy.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c strcopy.c -fPIC -DPIC -o .libs/strcopy.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathgetlink.lo pathgetlink.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathgetlink.c -fPIC -DPIC -o .libs/pathgetlink.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathfind.lo pathfind.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathfind.c -fPIC -DPIC -o .libs/pathfind.o
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, ':')))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathexists.lo pathexists.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathexists.c -fPIC -DPIC -o .libs/pathexists.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathcat.lo pathcat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathcat.c -fPIC -DPIC -o .libs/pathcat.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathcanon.lo pathcanon.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathcanon.c -fPIC -DPIC -o .libs/pathcanon.o
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
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathbin.lo pathbin.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathbin.c -fPIC -DPIC -o .libs/pathbin.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pathaccess.lo pathaccess.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pathaccess.c -fPIC -DPIC -o .libs/pathaccess.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fmtesc.lo fmtesc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fmtesc.c -fPIC -DPIC -o .libs/fmtesc.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fmtbuf.lo fmtbuf.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fmtbuf.c -fPIC -DPIC -o .libs/fmtbuf.o
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))
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o error.lo error.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c error.c -fPIC -DPIC -o .libs/error.o
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))) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o chrtoi.lo chrtoi.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c chrtoi.c -fPIC -DPIC -o .libs/chrtoi.o
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++)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o chresc.lo chresc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/sfio -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c chresc.c -fPIC -DPIC -o .libs/chresc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libast_C.la pathpath.lo chresc.lo chrtoi.lo error.lo fmtbuf.lo fmtesc.lo pathaccess.lo pathbin.lo pathcanon.lo pathcat.lo pathexists.lo pathfind.lo pathgetlink.lo strcopy.lo stresc.lo strmatch.lo strton.lo strerror.lo
x86_64-linux-libtool: link: ar cru .libs/libast_C.a .libs/pathpath.o .libs/chresc.o .libs/chrtoi.o .libs/error.o .libs/fmtbuf.o .libs/fmtesc.o .libs/pathaccess.o .libs/pathbin.o .libs/pathcanon.o .libs/pathcat.o .libs/pathexists.o .libs/pathfind.o .libs/pathgetlink.o .libs/strcopy.o .libs/stresc.o .libs/strmatch.o .libs/strton.o .libs/strerror.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libast_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libast_C.la" && ln -s "../libast_C.la" "libast_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ast'
Making all in vpsc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vpsc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/vpsc'
Making all in rbtree
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/rbtree'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o misc.lo misc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c misc.c -fPIC -DPIC -o .libs/misc.o
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) { ; }
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stack.lo stack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stack.c -fPIC -DPIC -o .libs/stack.o
stack.c:71:6: warning: no previous prototype for ‘StackDestroy’ [-Wmissing-prototypes]
void StackDestroy(stk_stack * theStack,void DestFunc(void * a)) {
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o red_black_tree.lo red_black_tree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c red_black_tree.c -fPIC -DPIC -o .libs/red_black_tree.o
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) {
^~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o librbtree_C.la misc.lo red_black_tree.lo stack.lo
x86_64-linux-libtool: link: ar cru .libs/librbtree_C.a .libs/misc.o .libs/red_black_tree.o .libs/stack.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/librbtree_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "librbtree_C.la" && ln -s "../librbtree_C.la" "librbtree_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/rbtree'
Making all in ortho
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ortho'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fPQ.lo fPQ.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fPQ.c -fPIC -DPIC -o .libs/fPQ.o
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*);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o trapezoid.lo trapezoid.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c trapezoid.c -fPIC -DPIC -o .libs/trapezoid.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sgraph.lo sgraph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sgraph.c -fPIC -DPIC -o .libs/sgraph.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rawgraph.lo rawgraph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rawgraph.c -fPIC -DPIC -o .libs/rawgraph.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o partition.lo partition.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c partition.c -fPIC -DPIC -o .libs/partition.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ortho.lo ortho.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ortho.c -fPIC -DPIC -o .libs/ortho.o
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) {
^~
In file included from ../../lib/common/types.h:21:0,
from ./structures.h:17,
from ./sgraph.h:17,
from ./maze.h:17,
from ortho.c:30:
ortho.c: In function ‘is_parallel’:
ortho.c:843:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert (s1->comm_coord==s2->comm_coord);
^
ortho.c:843:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert (s1->comm_coord==s2->comm_coord);
^
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 ‘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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o maze.lo maze.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c maze.c -fPIC -DPIC -o .libs/maze.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -D_BLD_gvc=1 -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libortho_C.la fPQ.lo maze.lo ortho.lo partition.lo rawgraph.lo sgraph.lo trapezoid.lo
x86_64-linux-libtool: link: ar cru .libs/libortho_C.a .libs/fPQ.o .libs/maze.o .libs/ortho.o .libs/partition.o .libs/rawgraph.o .libs/sgraph.o .libs/trapezoid.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libortho_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libortho_C.la" && ln -s "../libortho_C.la" "libortho_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ortho'
Making all in sparse
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sparse'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o SparseMatrix.lo SparseMatrix.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c SparseMatrix.c -fPIC -DPIC -o .libs/SparseMatrix.o
SparseMatrix.c:23:5: warning: "PQ" is not defined, evaluates to 0 [-Wundef]
#if PQ
^~
SparseMatrix.c: In function ‘size_of_matrix_type’:
SparseMatrix.c:51:10: warning: conversion to ‘size_t {aka long unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]
return size;
^~~~
SparseMatrix.c: In function ‘SparseMatrix_init’:
SparseMatrix.c:306:13: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion]
A->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){
^~
In file included from ./general.h:21:0,
from SparseMatrix.h:16,
from SparseMatrix.c:21:
SparseMatrix.c: In function ‘SparseMatrix_pseudo_diameter_weighted’:
SparseMatrix.c:2757:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(dist[list[nlist-1]] == dist_max);
^
SparseMatrix.c:2757:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(dist[list[nlist-1]] == dist_max);
^
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: 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: 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: 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: 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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o QuadTree.lo QuadTree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c QuadTree.c -fPIC -DPIC -o .libs/QuadTree.o
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<<dim));
^
QuadTree.c: In function ‘QuadTree_get_nearest_internal’:
QuadTree.c:680:9: warning: declaration of ‘point’ shadows a global declaration [-Wshadow]
real *point = x;
^~~~~
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o clustering.lo clustering.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c clustering.c -fPIC -DPIC -o .libs/clustering.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mq.lo mq.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mq.c -fPIC -DPIC -o .libs/mq.o
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: 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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o color_palette.lo color_palette.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c color_palette.c -fPIC -DPIC -o .libs/color_palette.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o colorutil.lo colorutil.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c colorutil.c -fPIC -DPIC -o .libs/colorutil.o
colorutil.c:42:6: warning: no previous prototype for ‘Hue2RGB’ [-Wmissing-prototypes]
real Hue2RGB(real v1, real v2, real H) {
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o LinkedList.lo LinkedList.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c LinkedList.c -fPIC -DPIC -o .libs/LinkedList.o
LinkedList.c:124:6: warning: no previous prototype for ‘DoubleLinkedList_print’ [-Wmissing-prototypes]
void DoubleLinkedList_print(DoubleLinkedList head, void (*linkedlist_print)(void*)){
^~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o DotIO.lo DotIO.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c DotIO.c -fPIC -DPIC -o .libs/DotIO.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o vector.lo vector.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c vector.c -fPIC -DPIC -o .libs/vector.o
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){
^~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o IntStack.lo IntStack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c IntStack.c -fPIC -DPIC -o .libs/IntStack.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o BinaryHeap.lo BinaryHeap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c BinaryHeap.c -fPIC -DPIC -o .libs/BinaryHeap.o
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_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)));
^
In file included from general.h:21:0,
from BinaryHeap.h:17,
from BinaryHeap.c:14:
BinaryHeap.c:269:74: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for (i = 0; i < h->len + IntStack_get_length(h->id_stack); i++) assert(mask[i] =- 1);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o general.lo general.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/sfdpgen -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c general.c -fPIC -DPIC -o .libs/general.o
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: 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: 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;
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsparse_C.la SparseMatrix.lo general.lo BinaryHeap.lo IntStack.lo vector.lo DotIO.lo LinkedList.lo colorutil.lo color_palette.lo mq.lo clustering.lo QuadTree.lo
x86_64-linux-libtool: link: ar cru .libs/libsparse_C.a .libs/SparseMatrix.o .libs/general.o .libs/BinaryHeap.o .libs/IntStack.o .libs/vector.o .libs/DotIO.o .libs/LinkedList.o .libs/colorutil.o .libs/color_palette.o .libs/mq.o .libs/clustering.o .libs/QuadTree.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsparse_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsparse_C.la" && ln -s "../libsparse_C.la" "libsparse_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sparse'
Making all in patchwork
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/patchwork'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o patchwork.lo patchwork.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c patchwork.c -fPIC -DPIC -o .libs/patchwork.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o tree_map.lo tree_map.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c tree_map.c -fPIC -DPIC -o .libs/tree_map.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o patchworkinit.lo patchworkinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c patchworkinit.c -fPIC -DPIC -o .libs/patchworkinit.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpatchwork_C.la patchwork.lo patchworkinit.lo tree_map.lo
x86_64-linux-libtool: link: ar cru .libs/libpatchwork_C.a .libs/patchwork.o .libs/patchworkinit.o .libs/tree_map.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpatchwork_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpatchwork_C.la" && ln -s "../libpatchwork_C.la" "libpatchwork_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/patchwork'
Making all in expr
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr'
bison -y -dtv ../../lib/expr/exparse.y
../../lib/expr/exparse.y:131.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
131 | %binary <op> EQ NE
| ^~~~~~~
../../lib/expr/exparse.y:132.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
132 | %binary <op> '<' '>' LE GE
| ^~~~~~~
../../lib/expr/exparse.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
groff -Tps -man ./expr.3 | false - - >expr.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1079: recipe for target 'expr.3.pdf' failed
make[3]: [expr.3.pdf] Error 1 (ignored)
sed "s/yy/ex/g" <y.tab.c | \
sed "s/YY/EX/g" | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" | \
sed "s/fprintf/sfprintf/g" | \
sed "s/FILE/Sfio_t/g" | \
sed "s/stderr/sfstderr/g" > exparse.c
echo "#ifndef _EXPARSE_H" > exparse.h
echo "#define _EXPARSE_H" >> exparse.h
sed "s/yy/ex/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" | \
sed "s/YY/EX/g" >> exparse.h
echo "#endif /* _EXPARSE_H */" >> exparse.h
echo "static const char* exop[] = {" > exop.h
echo " \"MINTOKEN\"," >> exop.h
sed -e '1,/^[ ]*#[ ]*define[ ][ ]*MINTOKEN/d' -e '/MAXTOKEN/,$d' -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h
echo "};" >> exop.h
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o excc.lo excc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c excc.c -fPIC -DPIC -o .libs/excc.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exstash.lo exstash.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exstash.c -fPIC -DPIC -o .libs/exstash.o
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__)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exnospace.lo exnospace.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exnospace.c -fPIC -DPIC -o .libs/exnospace.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exparse.lo exparse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exparse.c -fPIC -DPIC -o .libs/exparse.o
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)
^~~~
../../lib/expr/exparse.y: In function ‘exparse’:
../../lib/expr/exparse.y:205:84: 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:86: 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:52: 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:31: 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:103: 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:79: 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:49: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion]
$1->value->data.value = exzero($1->type);
^
../../lib/expr/exparse.y:606:125: 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:69: 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:69: 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:51: 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:54: 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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exzero.lo exzero.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exzero.c -fPIC -DPIC -o .libs/exzero.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o extype.lo extype.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c extype.c -fPIC -DPIC -o .libs/extype.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o extoken.lo extoken.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c extoken.c -fPIC -DPIC -o .libs/extoken.o
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;
~~~~~~~~~^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exrewind.lo exrewind.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exrewind.c -fPIC -DPIC -o .libs/exrewind.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exopen.lo exopen.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exopen.c -fPIC -DPIC -o .libs/exopen.o
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()) ||
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exlexname.lo exlexname.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exlexname.c -fPIC -DPIC -o .libs/exlexname.o
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];
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exexpr.lo exexpr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exexpr.c -fPIC -DPIC -o .libs/exexpr.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exeval.lo exeval.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exeval.c -fPIC -DPIC -o .libs/exeval.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exerror.lo exerror.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exerror.c -fPIC -DPIC -o .libs/exerror.o
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())) {
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o exdata.lo exdata.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c exdata.c -fPIC -DPIC -o .libs/exdata.o
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__)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o excontext.lo excontext.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c excontext.c -fPIC -DPIC -o .libs/excontext.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libexpr_C.la excc.lo excontext.lo exdata.lo exerror.lo exeval.lo exexpr.lo exlexname.lo exopen.lo exrewind.lo extoken.lo extype.lo exzero.lo exparse.lo exnospace.lo exstash.lo ../../lib/ast/libast_C.la ../../lib/vmalloc/libvmalloc_C.la ../../lib/sfio/libsfio_C.la ../../lib/cdt/libcdt.la
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libast_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/ast/.libs/libast_C.a")
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libvmalloc_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/vmalloc/.libs/libvmalloc_C.a")
x86_64-linux-libtool: link: (cd .libs/libexpr_C.lax/libsfio_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr/../../lib/sfio/.libs/libsfio_C.a")
x86_64-linux-libtool: link: ar cru .libs/libexpr_C.a .libs/excc.o .libs/excontext.o .libs/exdata.o .libs/exerror.o .libs/exeval.o .libs/exexpr.o .libs/exlexname.o .libs/exopen.o .libs/exrewind.o .libs/extoken.o .libs/extype.o .libs/exzero.o .libs/exparse.o .libs/exnospace.o .libs/exstash.o .libs/libexpr_C.lax/libast_C.a/chresc.o .libs/libexpr_C.lax/libast_C.a/chrtoi.o .libs/libexpr_C.lax/libast_C.a/error.o .libs/libexpr_C.lax/libast_C.a/fmtbuf.o .libs/libexpr_C.lax/libast_C.a/fmtesc.o .libs/libexpr_C.lax/libast_C.a/pathaccess.o .libs/libexpr_C.lax/libast_C.a/pathbin.o .libs/libexpr_C.lax/libast_C.a/pathcanon.o .libs/libexpr_C.lax/libast_C.a/pathcat.o .libs/libexpr_C.lax/libast_C.a/pathexists.o .libs/libexpr_C.lax/libast_C.a/pathfind.o .libs/libexpr_C.lax/libast_C.a/pathgetlink.o .libs/libexpr_C.lax/libast_C.a/pathpath.o .libs/libexpr_C.lax/libast_C.a/strcopy.o .libs/libexpr_C.lax/libast_C.a/strerror.o .libs/libexpr_C.lax/libast_C.a/stresc.o .libs/libexpr_C.lax/libast_C.a/strmatch.o .libs/libexpr_C.lax/libast_C.a/strton.o .libs/libexpr_C.lax/libvmalloc_C.a/malloc.o .libs/libexpr_C.lax/libvmalloc_C.a/vmbest.o .libs/libexpr_C.lax/libvmalloc_C.a/vmclear.o .libs/libexpr_C.lax/libvmalloc_C.a/vmclose.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdcheap.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdebug.o .libs/libexpr_C.lax/libvmalloc_C.a/vmdisc.o .libs/libexpr_C.lax/libvmalloc_C.a/vmlast.o .libs/libexpr_C.lax/libvmalloc_C.a/vmopen.o .libs/libexpr_C.lax/libvmalloc_C.a/vmpool.o .libs/libexpr_C.lax/libvmalloc_C.a/vmprivate.o .libs/libexpr_C.lax/libvmalloc_C.a/vmprofile.o .libs/libexpr_C.lax/libvmalloc_C.a/vmregion.o .libs/libexpr_C.lax/libvmalloc_C.a/vmsegment.o .libs/libexpr_C.lax/libvmalloc_C.a/vmset.o .libs/libexpr_C.lax/libvmalloc_C.a/vmstat.o .libs/libexpr_C.lax/libvmalloc_C.a/vmstrdup.o .libs/libexpr_C.lax/libvmalloc_C.a/vmtrace.o .libs/libexpr_C.lax/libvmalloc_C.a/vmwalk.o .libs/libexpr_C.lax/libsfio_C.a/sfclose.o .libs/libexpr_C.lax/libsfio_C.a/sfclrlock.o .libs/libexpr_C.lax/libsfio_C.a/sfcvt.o .libs/libexpr_C.lax/libsfio_C.a/sfdisc.o .libs/libexpr_C.lax/libsfio_C.a/sfdlen.o .libs/libexpr_C.lax/libsfio_C.a/sfexcept.o .libs/libexpr_C.lax/libsfio_C.a/sfexit.o .libs/libexpr_C.lax/libsfio_C.a/sfextern.o .libs/libexpr_C.lax/libsfio_C.a/sffcvt.o .libs/libexpr_C.lax/libsfio_C.a/sffilbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfflsbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfgetd.o .libs/libexpr_C.lax/libsfio_C.a/sfgetl.o .libs/libexpr_C.lax/libsfio_C.a/sfgetm.o .libs/libexpr_C.lax/libsfio_C.a/sfgetr.o .libs/libexpr_C.lax/libsfio_C.a/sfgetu.o .libs/libexpr_C.lax/libsfio_C.a/sfllen.o .libs/libexpr_C.lax/libsfio_C.a/sfmode.o .libs/libexpr_C.lax/libsfio_C.a/sfmove.o .libs/libexpr_C.lax/libsfio_C.a/sfmutex.o .libs/libexpr_C.lax/libsfio_C.a/sfnew.o .libs/libexpr_C.lax/libsfio_C.a/sfnotify.o .libs/libexpr_C.lax/libsfio_C.a/sfnputc.o .libs/libexpr_C.lax/libsfio_C.a/sfopen.o .libs/libexpr_C.lax/libsfio_C.a/sfpkrd.o .libs/libexpr_C.lax/libsfio_C.a/sfpoll.o .libs/libexpr_C.lax/libsfio_C.a/sfpool.o .libs/libexpr_C.lax/libsfio_C.a/sfpopen.o .libs/libexpr_C.lax/libsfio_C.a/sfprintf.o .libs/libexpr_C.lax/libsfio_C.a/sfprints.o .libs/libexpr_C.lax/libsfio_C.a/sfpurge.o .libs/libexpr_C.lax/libsfio_C.a/sfputd.o .libs/libexpr_C.lax/libsfio_C.a/sfputl.o .libs/libexpr_C.lax/libsfio_C.a/sfputm.o .libs/libexpr_C.lax/libsfio_C.a/sfputr.o .libs/libexpr_C.lax/libsfio_C.a/sfputu.o .libs/libexpr_C.lax/libsfio_C.a/sfraise.o .libs/libexpr_C.lax/libsfio_C.a/sfrd.o .libs/libexpr_C.lax/libsfio_C.a/sfread.o .libs/libexpr_C.lax/libsfio_C.a/sfreserve.o .libs/libexpr_C.lax/libsfio_C.a/sfresize.o .libs/libexpr_C.lax/libsfio_C.a/sfscanf.o .libs/libexpr_C.lax/libsfio_C.a/sfseek.o .libs/libexpr_C.lax/libsfio_C.a/sfset.o .libs/libexpr_C.lax/libsfio_C.a/sfsetbuf.o .libs/libexpr_C.lax/libsfio_C.a/sfsetfd.o .libs/libexpr_C.lax/libsfio_C.a/sfsize.o .libs/libexpr_C.lax/libsfio_C.a/sfsk.o .libs/libexpr_C.lax/libsfio_C.a/sfstack.o .libs/libexpr_C.lax/libsfio_C.a/sfstrtod.o .libs/libexpr_C.lax/libsfio_C.a/sfswap.o .libs/libexpr_C.lax/libsfio_C.a/sfsync.o .libs/libexpr_C.lax/libsfio_C.a/sftable.o .libs/libexpr_C.lax/libsfio_C.a/sftell.o .libs/libexpr_C.lax/libsfio_C.a/sftmp.o .libs/libexpr_C.lax/libsfio_C.a/sfungetc.o .libs/libexpr_C.lax/libsfio_C.a/sfvprintf.o .libs/libexpr_C.lax/libsfio_C.a/sfvscanf.o .libs/libexpr_C.lax/libsfio_C.a/sfwr.o .libs/libexpr_C.lax/libsfio_C.a/sfwrite.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libexpr_C.a
x86_64-linux-libtool: link: rm -fr .libs/libexpr_C.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libexpr_C.la" && ln -s "../libexpr_C.la" "libexpr_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/expr'
Making all in common
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
gawk -f ../../awk/brewer.awk ../../lib/common/brewer_colors > brewer_lib
bison -y -dv ../../lib/common/htmlparse.y
../../lib/common/htmlparse.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
cp ./ps_fontmap.txt ps_font_equiv.h
./mksvgfonts.pl fontmap.cfg ps_font_equiv.txt | LC_ALL=C sort >>ps_font_equiv.h
don't know about Symbol
don't know about ZapfDingbats
sed "s/yy/html/g" < y.tab.h | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g"> htmlparse.h
gawk -f ../../awk/svgcolor.awk ../../lib/common/svgcolor_names > svgcolor_lib
cat brewer_lib svgcolor_lib ../../lib/common/color_names | LC_ALL=C sort > color_lib
gawk -f ../../awk/colortbl.awk color_lib > colortbl.h
make all-am
make[4]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o arrows.lo arrows.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c arrows.c -fPIC -DPIC -o .libs/arrows.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o emit.lo emit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c emit.c -fPIC -DPIC -o .libs/emit.o
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)
^~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o output.lo output.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c output.c -fPIC -DPIC -o .libs/output.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o taper.lo taper.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c taper.c -fPIC -DPIC -o .libs/taper.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o geom.lo geom.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c geom.c -fPIC -DPIC -o .libs/geom.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o utils.lo utils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c utils.c -fPIC -DPIC -o .libs/utils.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o shapes.lo shapes.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c shapes.c -fPIC -DPIC -o .libs/shapes.o
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:
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ns.lo ns.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ns.c -fPIC -DPIC -o .libs/ns.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o labels.lo labels.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c labels.c -fPIC -DPIC -o .libs/labels.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o timing.lo timing.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c timing.c -fPIC -DPIC -o .libs/timing.o
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);
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o psusershape.lo psusershape.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c psusershape.c -fPIC -DPIC -o .libs/psusershape.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o splines.lo splines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c splines.c -fPIC -DPIC -o .libs/splines.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o routespl.lo routespl.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c routespl.c -fPIC -DPIC -o .libs/routespl.o
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 */
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o postproc.lo postproc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c postproc.c -fPIC -DPIC -o .libs/postproc.o
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) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o intset.lo intset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c intset.c -fPIC -DPIC -o .libs/intset.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pointset.lo pointset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pointset.c -fPIC -DPIC -o .libs/pointset.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o input.lo input.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c input.c -fPIC -DPIC -o .libs/input.o
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);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmltable.lo htmltable.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmltable.c -fPIC -DPIC -o .libs/htmltable.o
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)) {
^~~~~~
sed "s/yy/html/g" < y.tab.c | \
sed "s/unsigned long int/uint64_t/g" | \
sed "s/unsigned long/uint64_t/g" > htmlparse.c
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmllex.lo htmllex.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmllex.c -fPIC -DPIC -o .libs/htmllex.o
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
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o htmlparse.lo htmlparse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c htmlparse.c -fPIC -DPIC -o .libs/htmlparse.o
../../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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o globals.lo globals.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c globals.c -fPIC -DPIC -o .libs/globals.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o memory.lo memory.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c memory.c -fPIC -DPIC -o .libs/memory.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o args.lo args.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c args.c -fPIC -DPIC -o .libs/args.o
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)
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o textspan.lo textspan.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c textspan.c -fPIC -DPIC -o .libs/textspan.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ellipse.lo ellipse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ellipse.c -fPIC -DPIC -o .libs/ellipse.o
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
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o colxlate.lo colxlate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I../../lib/gvc -I../../lib/pack -I../../lib/label -I../../lib/xdot -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c colxlate.c -fPIC -DPIC -o .libs/colxlate.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcommon_C.la arrows.lo colxlate.lo ellipse.lo textspan.lo args.lo memory.lo globals.lo htmllex.lo htmlparse.lo htmltable.lo input.lo pointset.lo intset.lo postproc.lo routespl.lo splines.lo psusershape.lo timing.lo labels.lo ns.lo shapes.lo utils.lo geom.lo taper.lo output.lo emit.lo
x86_64-linux-libtool: link: ar cru .libs/libcommon_C.a .libs/arrows.o .libs/colxlate.o .libs/ellipse.o .libs/textspan.o .libs/args.o .libs/memory.o .libs/globals.o .libs/htmllex.o .libs/htmlparse.o .libs/htmltable.o .libs/input.o .libs/pointset.o .libs/intset.o .libs/postproc.o .libs/routespl.o .libs/splines.o .libs/psusershape.o .libs/timing.o .libs/labels.o .libs/ns.o .libs/shapes.o .libs/utils.o .libs/geom.o .libs/taper.o .libs/output.o .libs/emit.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcommon_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcommon_C.la" && ln -s "../libcommon_C.la" "libcommon_C.la" )
make[4]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/common'
Making all in pack
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pack'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ccomps.lo ccomps.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ccomps.c -fPIC -DPIC -o .libs/ccomps.o
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;
^~~
groff -Tps -man ./pack.3 | false - - >pack.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:977: recipe for target 'pack.3.pdf' failed
make[3]: [pack.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pack.lo pack.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pack.c -fPIC -DPIC -o .libs/pack.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libpack_C.la ccomps.lo pack.lo
x86_64-linux-libtool: link: ar cru .libs/libpack_C.a .libs/ccomps.o .libs/pack.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libpack_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libpack_C.la" && ln -s "../libpack_C.la" "libpack_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pack'
Making all in xdot
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xdot.lo xdot.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xdot.c -fPIC -DPIC -o .libs/xdot.o
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;
^
groff -Tps -man ./xdot.3 | false - - >xdot.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1043: recipe for target 'xdot.3.pdf' failed
make[3]: [xdot.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libxdot_C.la xdot.lo
x86_64-linux-libtool: link: ar cru .libs/libxdot_C.a .libs/xdot.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libxdot_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libxdot_C.la" && ln -s "../libxdot_C.la" "libxdot_C.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "4:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libxdot.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib xdot.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/xdot.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libxdot.so.4 -o .libs/libxdot.so.4.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libxdot.so.4" && ln -s "libxdot.so.4.0.0" "libxdot.so.4")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libxdot.so" && ln -s "libxdot.so.4.0.0" "libxdot.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libxdot.la" && ln -s "../libxdot.la" "libxdot.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot'
Making all in label
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/label'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xlabels.lo xlabels.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xlabels.c -fPIC -DPIC -o .libs/xlabels.o
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: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. */
^
In file included from xlabels.c:13:0:
xlabels.c: In function ‘lblenclosing’:
xlabels.c:219:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
xlabels.c:219:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
assert(objp1->sz.x == 0 && objp1->sz.y == 0);
^
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 ‘placeLabels’:
xlabels.c:680:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
} else if(bp.area == 0) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o split.q.lo split.q.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c split.q.c -fPIC -DPIC -o .libs/split.q.o
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]);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rectangle.lo rectangle.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rectangle.c -fPIC -DPIC -o .libs/rectangle.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node.lo node.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node.c -fPIC -DPIC -o .libs/node.o
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;
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o index.lo index.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c index.c -fPIC -DPIC -o .libs/index.o
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)
^~~
In file included from index.c:17:0:
index.c: In function ‘RTreeDelete2’:
index.c:435:17: warning: ordered comparison of pointer with integer zero [-Wextra]
assert(data >= 0);
^
index.c:435:17: warning: ordered comparison of pointer with integer zero [-Wextra]
assert(data >= 0);
^
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o liblabel_C.la xlabels.lo index.lo node.lo rectangle.lo split.q.lo
x86_64-linux-libtool: link: ar cru .libs/liblabel_C.a .libs/xlabels.o .libs/index.o .libs/node.o .libs/rectangle.o .libs/split.q.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/liblabel_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "liblabel_C.la" && ln -s "../liblabel_C.la" "liblabel_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/label'
Making all in gvc
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender.lo gvrender.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender.c -fPIC -DPIC -o .libs/gvrender.o
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));
^
groff -Tps -man ./gvc.3 | false - - > gvc.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1130: recipe for target 'gvc.3.pdf' failed
make[3]: [gvc.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvc.lo gvc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvc.c -fPIC -DPIC -o .libs/gvc.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvusershape.lo gvusershape.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvusershape.c -fPIC -DPIC -o .libs/gvusershape.o
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)
^~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtextlayout.lo gvtextlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtextlayout.c -fPIC -DPIC -o .libs/gvtextlayout.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtool_tred.lo gvtool_tred.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtool_tred.c -fPIC -DPIC -o .libs/gvtool_tred.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvconfig.lo gvconfig.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvconfig.c -fPIC -DPIC -o .libs/gvconfig.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin.lo gvplugin.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin.c -fPIC -DPIC -o .libs/gvplugin.o
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++) {
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvevent.lo gvevent.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvevent.c -fPIC -DPIC -o .libs/gvevent.o
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)
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvjobs.lo gvjobs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvjobs.c -fPIC -DPIC -o .libs/gvjobs.o
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*)));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvcontext.lo gvcontext.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvcontext.c -fPIC -DPIC -o .libs/gvcontext.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage.lo gvloadimage.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage.c -fPIC -DPIC -o .libs/gvloadimage.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvdevice.lo gvdevice.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvdevice.c -fPIC -DPIC -o .libs/gvdevice.o
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)) {
^
In file included from ../../lib/common/types.h:21:0,
from gvplugin_device.h:17,
from gvdevice.c:55:
gvdevice.c: In function ‘gvfwrite’:
gvdevice.c:269:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(size = sizeof(char));
^
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvlayout.lo gvlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -DGVLIBDIR=\"TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/graphviz\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvlayout.c -fPIC -DPIC -o .libs/gvlayout.o
gvlayout.c: In function ‘gvFreeLayout’:
gvlayout.c:102:26: warning: unused parameter ‘gvc’ [-Wunused-parameter]
int gvFreeLayout(GVC_t * gvc, Agraph_t * g)
^~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "6:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvc.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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 -lltdl ../../lib/xdot/libxdot.la ../../lib/cdt/libcdt.la ../../lib/cgraph/libcgraph.la ../../lib/pathplan/libpathplan.la -L/usr/lib64 -lexpat -lz -lm -lz -lm
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/gvrender.o .libs/gvlayout.o .libs/gvdevice.o .libs/gvloadimage.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvtool_tred.o .libs/gvtextlayout.o .libs/gvusershape.o .libs/gvc.o -Wl,--whole-archive ../../lib/pack/.libs/libpack_C.a ../../lib/xdot/.libs/libxdot_C.a ../../lib/label/.libs/liblabel_C.a ../../lib/common/.libs/libcommon_C.a ../../lib/ortho/.libs/libortho_C.a -Wl,--no-whole-archive -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -lltdl ../../lib/xdot/.libs/libxdot.so ../../lib/cdt/.libs/libcdt.so ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so ../../lib/pathplan/.libs/libpathplan.so -L/usr/lib64 -lexpat -lz -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvc.so.6 -o .libs/libgvc.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvc.so.6" && ln -s "libgvc.so.6.0.0" "libgvc.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvc.so" && ln -s "libgvc.so.6.0.0" "libgvc.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvc.la" && ln -s "../libgvc.la" "libgvc.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvc_C.la 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 -lltdl -lz -lm
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libpack_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/pack/.libs/libpack_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libxdot_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/xdot/.libs/libxdot_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/liblabel_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/label/.libs/liblabel_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libcommon_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/common/.libs/libcommon_C.a")
x86_64-linux-libtool: link: (cd .libs/libgvc_C.lax/libortho_C.a && ar x "TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/../../lib/ortho/.libs/libortho_C.a")
x86_64-linux-libtool: link: ar cru .libs/libgvc_C.a .libs/gvrender.o .libs/gvlayout.o .libs/gvdevice.o .libs/gvloadimage.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvtool_tred.o .libs/gvtextlayout.o .libs/gvusershape.o .libs/gvc.o .libs/libgvc_C.lax/libpack_C.a/ccomps.o .libs/libgvc_C.lax/libpack_C.a/pack.o .libs/libgvc_C.lax/libxdot_C.a/xdot.o .libs/libgvc_C.lax/liblabel_C.a/index.o .libs/libgvc_C.lax/liblabel_C.a/node.o .libs/libgvc_C.lax/liblabel_C.a/rectangle.o .libs/libgvc_C.lax/liblabel_C.a/split.q.o .libs/libgvc_C.lax/liblabel_C.a/xlabels.o .libs/libgvc_C.lax/libcommon_C.a/args.o .libs/libgvc_C.lax/libcommon_C.a/arrows.o .libs/libgvc_C.lax/libcommon_C.a/colxlate.o .libs/libgvc_C.lax/libcommon_C.a/ellipse.o .libs/libgvc_C.lax/libcommon_C.a/emit.o .libs/libgvc_C.lax/libcommon_C.a/geom.o .libs/libgvc_C.lax/libcommon_C.a/globals.o .libs/libgvc_C.lax/libcommon_C.a/htmllex.o .libs/libgvc_C.lax/libcommon_C.a/htmlparse.o .libs/libgvc_C.lax/libcommon_C.a/htmltable.o .libs/libgvc_C.lax/libcommon_C.a/input.o .libs/libgvc_C.lax/libcommon_C.a/intset.o .libs/libgvc_C.lax/libcommon_C.a/labels.o .libs/libgvc_C.lax/libcommon_C.a/memory.o .libs/libgvc_C.lax/libcommon_C.a/ns.o .libs/libgvc_C.lax/libcommon_C.a/output.o .libs/libgvc_C.lax/libcommon_C.a/pointset.o .libs/libgvc_C.lax/libcommon_C.a/postproc.o .libs/libgvc_C.lax/libcommon_C.a/psusershape.o .libs/libgvc_C.lax/libcommon_C.a/routespl.o .libs/libgvc_C.lax/libcommon_C.a/shapes.o .libs/libgvc_C.lax/libcommon_C.a/splines.o .libs/libgvc_C.lax/libcommon_C.a/taper.o .libs/libgvc_C.lax/libcommon_C.a/textspan.o .libs/libgvc_C.lax/libcommon_C.a/timing.o .libs/libgvc_C.lax/libcommon_C.a/utils.o .libs/libgvc_C.lax/libortho_C.a/fPQ.o .libs/libgvc_C.lax/libortho_C.a/maze.o .libs/libgvc_C.lax/libortho_C.a/ortho.o .libs/libgvc_C.lax/libortho_C.a/partition.o .libs/libgvc_C.lax/libortho_C.a/rawgraph.o .libs/libgvc_C.lax/libortho_C.a/sgraph.o .libs/libgvc_C.lax/libortho_C.a/trapezoid.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvc_C.a
x86_64-linux-libtool: link: rm -fr .libs/libgvc_C.lax
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvc_C.la" && ln -s "../libgvc_C.la" "libgvc_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc'
Making all in ingraphs
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ingraphs'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o ingraphs.lo ingraphs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c ingraphs.c -fPIC -DPIC -o .libs/ingraphs.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libingraphs_C.la ingraphs.lo
x86_64-linux-libtool: link: ar cru .libs/libingraphs_C.a .libs/ingraphs.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libingraphs_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libingraphs_C.la" && ln -s "../libingraphs_C.la" "libingraphs_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/ingraphs'
Making all in topfish
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/topfish'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/topfish'
Making all in glcomp
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/glcomp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/glcomp'
Making all in mingle
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/mingle'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/mingle'
Making all in edgepaint
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/edgepaint'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lab_gamut.lo lab_gamut.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lab_gamut.c -fPIC -DPIC -o .libs/lab_gamut.o
groff -Tps -man ./lab_gamut.3 | false - - >lab_gamut.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1048: recipe for target 'lab_gamut.3.pdf' failed
make[3]: [lab_gamut.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "1:0:0" -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o liblab_gamut.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib lab_gamut.lo
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/lab_gamut.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,liblab_gamut.so.1 -o .libs/liblab_gamut.so.1.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "liblab_gamut.so.1" && ln -s "liblab_gamut.so.1.0.0" "liblab_gamut.so.1")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "liblab_gamut.so" && ln -s "liblab_gamut.so.1.0.0" "liblab_gamut.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "liblab_gamut.la" && ln -s "../liblab_gamut.la" "liblab_gamut.la" )
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o node_distinct_coloring.lo node_distinct_coloring.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c node_distinct_coloring.c -fPIC -DPIC -o .libs/node_distinct_coloring.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lab.lo lab.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lab.c -fPIC -DPIC -o .libs/lab.o
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 */
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o intersection.lo intersection.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c intersection.c -fPIC -DPIC -o .libs/intersection.o
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]){
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o furtherest_point.lo furtherest_point.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c furtherest_point.c -fPIC -DPIC -o .libs/furtherest_point.o
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<<dim));
^
furtherest_point.c:131:53: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
MEMCPY(*argmax, qt->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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edge_distinct_coloring.lo edge_distinct_coloring.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/sparse -I../../lib/gvc -I../../lib/pathplan -I../../lib/sfdpgen -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edge_distinct_coloring.c -fPIC -DPIC -o .libs/edge_distinct_coloring.o
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){
^~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libedgepaint_C.la edge_distinct_coloring.lo furtherest_point.lo intersection.lo lab.lo node_distinct_coloring.lo
x86_64-linux-libtool: link: ar cru .libs/libedgepaint_C.a .libs/edge_distinct_coloring.o .libs/furtherest_point.o .libs/intersection.o .libs/lab.o .libs/node_distinct_coloring.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libedgepaint_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libedgepaint_C.la" && ln -s "../libedgepaint_C.la" "libedgepaint_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/edgepaint'
Making all in circogen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/circogen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circularinit.lo circularinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circularinit.c -fPIC -DPIC -o .libs/circularinit.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o nodeset.lo nodeset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c nodeset.c -fPIC -DPIC -o .libs/nodeset.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circpos.lo circpos.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circpos.c -fPIC -DPIC -o .libs/circpos.o
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)
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o blockpath.lo blockpath.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c blockpath.c -fPIC -DPIC -o .libs/blockpath.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o blocktree.lo blocktree.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c blocktree.c -fPIC -DPIC -o .libs/blocktree.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o deglist.lo deglist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c deglist.c -fPIC -DPIC -o .libs/deglist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circular.lo circular.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circular.c -fPIC -DPIC -o .libs/circular.o
circular.c: In function ‘cleanup’:
circular.c:59:50: warning: unused parameter ‘sp’ [-Wunused-parameter]
static void cleanup(block_t * root, circ_state * sp)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edgelist.lo edgelist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edgelist.c -fPIC -DPIC -o .libs/edgelist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o block.lo block.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c block.c -fPIC -DPIC -o .libs/block.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o nodelist.lo nodelist.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c nodelist.c -fPIC -DPIC -o .libs/nodelist.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libcircogen_C.la circularinit.lo nodelist.lo block.lo edgelist.lo circular.lo deglist.lo blocktree.lo blockpath.lo circpos.lo nodeset.lo
x86_64-linux-libtool: link: ar cru .libs/libcircogen_C.a .libs/circularinit.o .libs/nodelist.o .libs/block.o .libs/edgelist.o .libs/circular.o .libs/deglist.o .libs/blocktree.o .libs/blockpath.o .libs/circpos.o .libs/nodeset.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libcircogen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libcircogen_C.la" && ln -s "../libcircogen_C.la" "libcircogen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/circogen'
Making all in dotgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/dotgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o acyclic.lo acyclic.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c acyclic.c -fPIC -DPIC -o .libs/acyclic.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o aspect.lo aspect.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c aspect.c -fPIC -DPIC -o .libs/aspect.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dotsplines.lo dotsplines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dotsplines.c -fPIC -DPIC -o .libs/dotsplines.o
dotsplines.c:114:1: warning: missing initializer for field ‘ignoreSwap’ of ‘splineInfo {aka struct <anonymous>}’ [-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);
^~~~~~
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: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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sameport.lo sameport.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sameport.c -fPIC -DPIC -o .libs/sameport.o
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)
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o rank.lo rank.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c rank.c -fPIC -DPIC -o .libs/rank.o
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);
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o position.lo position.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c position.c -fPIC -DPIC -o .libs/position.o
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)));
^~~
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);
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mincross.lo mincross.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c mincross.c -fPIC -DPIC -o .libs/mincross.o
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);
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dotinit.lo dotinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dotinit.c -fPIC -DPIC -o .libs/dotinit.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o flat.lo flat.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c flat.c -fPIC -DPIC -o .libs/flat.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fastgr.lo fastgr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fastgr.c -fPIC -DPIC -o .libs/fastgr.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o decomp.lo decomp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c decomp.c -fPIC -DPIC -o .libs/decomp.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o conc.lo conc.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c conc.c -fPIC -DPIC -o .libs/conc.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compound.lo compound.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compound.c -fPIC -DPIC -o .libs/compound.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o cluster.lo cluster.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c cluster.c -fPIC -DPIC -o .libs/cluster.o
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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o class2.lo class2.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c class2.c -fPIC -DPIC -o .libs/class2.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o class1.lo class1.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pack -I../../lib/gvc -I../../lib/ortho -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c class1.c -fPIC -DPIC -o .libs/class1.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libdotgen_C.la acyclic.lo class1.lo class2.lo cluster.lo compound.lo conc.lo decomp.lo fastgr.lo flat.lo dotinit.lo mincross.lo position.lo rank.lo sameport.lo dotsplines.lo aspect.lo
x86_64-linux-libtool: link: ar cru .libs/libdotgen_C.a .libs/acyclic.o .libs/class1.o .libs/class2.o .libs/cluster.o .libs/compound.o .libs/conc.o .libs/decomp.o .libs/fastgr.o .libs/flat.o .libs/dotinit.o .libs/mincross.o .libs/position.o .libs/rank.o .libs/sameport.o .libs/dotsplines.o .libs/aspect.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libdotgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libdotgen_C.la" && ln -s "../libdotgen_C.la" "libdotgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/dotgen'
Making all in fdpgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/fdpgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o comp.lo comp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c comp.c -fPIC -DPIC -o .libs/comp.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o clusteredges.lo clusteredges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c clusteredges.c -fPIC -DPIC -o .libs/clusteredges.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o xlayout.lo xlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c xlayout.c -fPIC -DPIC -o .libs/xlayout.o
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);
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o tlayout.lo tlayout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c tlayout.c -fPIC -DPIC -o .libs/tlayout.o
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: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: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)) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o layout.lo layout.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c layout.c -fPIC -DPIC -o .libs/layout.o
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)
^~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o fdpinit.lo fdpinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c fdpinit.c -fPIC -DPIC -o .libs/fdpinit.o
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 *);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o grid.lo grid.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c grid.c -fPIC -DPIC -o .libs/grid.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dbg.lo dbg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dbg.c -fPIC -DPIC -o .libs/dbg.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libfdpgen_C.la comp.lo dbg.lo grid.lo fdpinit.lo layout.lo tlayout.lo xlayout.lo clusteredges.lo
x86_64-linux-libtool: link: ar cru .libs/libfdpgen_C.a .libs/comp.o .libs/dbg.o .libs/grid.o .libs/fdpinit.o .libs/layout.o .libs/tlayout.o .libs/xlayout.o .libs/clusteredges.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libfdpgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libfdpgen_C.la" && ln -s "../libfdpgen_C.la" "libfdpgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/fdpgen'
Making all in neatogen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/neatogen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o adjust.lo adjust.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c adjust.c -fPIC -DPIC -o .libs/adjust.o
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)
^~~
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o quad_prog_solve.lo quad_prog_solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c quad_prog_solve.c -fPIC -DPIC -o .libs/quad_prog_solve.o
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 ‘constrained_majorization_new_with_gaps’:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o smart_ini_x.lo smart_ini_x.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c smart_ini_x.c -fPIC -DPIC -o .libs/smart_ini_x.o
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)) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o constrained_majorization.lo constrained_majorization.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c constrained_majorization.c -fPIC -DPIC -o .libs/constrained_majorization.o
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);
^~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o opt_arrangement.lo opt_arrangement.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c opt_arrangement.c -fPIC -DPIC -o .libs/opt_arrangement.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o overlap.lo overlap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c overlap.c -fPIC -DPIC -o .libs/overlap.o
overlap.c:686:6: warning: no previous prototype for ‘remove_overlap’ [-Wmissing-prototypes]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~~~
overlap.c: In function ‘remove_overlap’:
overlap.c:686:25: warning: unused parameter ‘dim’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~
overlap.c:686:43: warning: unused parameter ‘A’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:50: warning: unused parameter ‘m’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:59: warning: unused parameter ‘x’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^
overlap.c:686:68: warning: unused parameter ‘label_sizes’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~
overlap.c:686:85: warning: unused parameter ‘ntry’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~
overlap.c:686:96: warning: unused parameter ‘initial_scaling’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~~~~
overlap.c:686:117: warning: unused parameter ‘do_shrinking’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~~~~~~~~~
overlap.c:686:136: warning: unused parameter ‘flag’ [-Wunused-parameter]
void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int do_shrinking, int *flag)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o call_tri.lo call_tri.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c call_tri.c -fPIC -DPIC -o .libs/call_tri.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compute_hierarchy.lo compute_hierarchy.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compute_hierarchy.c -fPIC -DPIC -o .libs/compute_hierarchy.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o delaunay.lo delaunay.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c delaunay.c -fPIC -DPIC -o .libs/delaunay.o
delaunay.c:25:5: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if HAVE_GTS
^~~~~~~~
delaunay.c:541:7: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#elif HAVE_TRIANGLE
^~~~~~~~~~~~~
delaunay.c: In function ‘get_triangles’:
delaunay.c:744:29: warning: unused parameter ‘x’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^
delaunay.c:744:36: warning: unused parameter ‘n’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^
delaunay.c:744:44: warning: unused parameter ‘tris’ [-Wunused-parameter]
int* get_triangles (double *x, int n, int* tris)
^~~~
delaunay.c: In function ‘delaunay_triangulation’:
delaunay.c:749:40: warning: unused parameter ‘x’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c:749:51: warning: unused parameter ‘y’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c:749:58: warning: unused parameter ‘n’ [-Wunused-parameter]
v_data *delaunay_triangulation(double *x, double *y, int n)
^
delaunay.c: In function ‘delaunay_tri’:
delaunay.c:754:27: warning: unused parameter ‘x’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:38: warning: unused parameter ‘y’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:45: warning: unused parameter ‘n’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^
delaunay.c:754:53: warning: unused parameter ‘nedges’ [-Wunused-parameter]
int *delaunay_tri(double *x, double *y, int n, int* nedges)
^~~~~~
delaunay.c: In function ‘mkSurface’:
delaunay.c:760:20: warning: unused parameter ‘x’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:31: warning: unused parameter ‘y’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:38: warning: unused parameter ‘n’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^
delaunay.c:760:46: warning: unused parameter ‘segs’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^~~~
delaunay.c:760:56: warning: unused parameter ‘nsegs’ [-Wunused-parameter]
mkSurface (double *x, double *y, int n, int* segs, int nsegs)
^~~~~
delaunay.c: In function ‘freeSurface’:
delaunay.c:766:25: warning: unused parameter ‘s’ [-Wunused-parameter]
freeSurface (surface_t* s)
^
In file included from delaunay.c:22:0:
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o multispline.lo multispline.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c multispline.c -fPIC -DPIC -o .libs/multispline.o
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 <anonymous>}’ [-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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o constraint.lo constraint.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c constraint.c -fPIC -DPIC -o .libs/constraint.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o bfs.lo bfs.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c bfs.c -fPIC -DPIC -o .libs/bfs.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o closest.lo closest.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c closest.c -fPIC -DPIC -o .libs/closest.o
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 <anonymous>}’ [-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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o pca.lo pca.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c pca.c -fPIC -DPIC -o .libs/pca.o
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o conjgrad.lo conjgrad.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c conjgrad.c -fPIC -DPIC -o .libs/conjgrad.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o dijkstra.lo dijkstra.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c dijkstra.c -fPIC -DPIC -o .libs/dijkstra.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o embed_graph.lo embed_graph.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c embed_graph.c -fPIC -DPIC -o .libs/embed_graph.o
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 *);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o matrix_ops.lo matrix_ops.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c matrix_ops.c -fPIC -DPIC -o .libs/matrix_ops.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o kkutils.lo kkutils.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c kkutils.c -fPIC -DPIC -o .libs/kkutils.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stress.lo stress.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stress.c -fPIC -DPIC -o .libs/stress.o
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];
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o voronoi.lo voronoi.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c voronoi.c -fPIC -DPIC -o .libs/voronoi.o
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))
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stuff.lo stuff.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stuff.c -fPIC -DPIC -o .libs/stuff.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o neatosplines.lo neatosplines.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c neatosplines.c -fPIC -DPIC -o .libs/neatosplines.o
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 <anonymous>}’ [-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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o solve.lo solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c solve.c -fPIC -DPIC -o .libs/solve.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o site.lo site.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c site.c -fPIC -DPIC -o .libs/site.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o printvis.lo printvis.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c printvis.c -fPIC -DPIC -o .libs/printvis.o
printvis.c:19:6: warning: no previous prototype for ‘printvis’ [-Wmissing-prototypes]
void printvis(vconfig_t * cp)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o poly.lo poly.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c poly.c -fPIC -DPIC -o .libs/poly.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o memory.lo memory.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c memory.c -fPIC -DPIC -o .libs/memory.o
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);
^~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o matinv.lo matinv.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c matinv.c -fPIC -DPIC -o .libs/matinv.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o lu.lo lu.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c lu.c -fPIC -DPIC -o .libs/lu.o
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)
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o legal.lo legal.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c legal.c -fPIC -DPIC -o .libs/legal.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o neatoinit.lo neatoinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c neatoinit.c -fPIC -DPIC -o .libs/neatoinit.o
In file included from ../../lib/common/render.h:44:0,
from neato.h:35,
from neatoinit.c:23:
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);
^~~
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);
^~~~~~
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:23: warning: unused parameter ‘mg’ [-Wunused-parameter]
majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int steps, adjust_data* am)
^~
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:1124:102: warning: unused parameter ‘am’ [-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;
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o info.lo info.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c info.c -fPIC -DPIC -o .libs/info.o
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;
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o hedges.lo hedges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c hedges.c -fPIC -DPIC -o .libs/hedges.o
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;
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o heap.lo heap.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c heap.c -fPIC -DPIC -o .libs/heap.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o geometry.lo geometry.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c geometry.c -fPIC -DPIC -o .libs/geometry.o
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)
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o edges.lo edges.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c edges.c -fPIC -DPIC -o .libs/edges.o
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) {
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circuit.lo circuit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circuit.c -fPIC -DPIC -o .libs/circuit.o
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libneatogen_C.la adjust.lo circuit.lo edges.lo geometry.lo heap.lo hedges.lo info.lo neatoinit.lo legal.lo lu.lo matinv.lo memory.lo poly.lo printvis.lo site.lo solve.lo neatosplines.lo stuff.lo voronoi.lo stress.lo kkutils.lo matrix_ops.lo embed_graph.lo dijkstra.lo conjgrad.lo pca.lo closest.lo bfs.lo constraint.lo quad_prog_solve.lo smart_ini_x.lo constrained_majorization.lo opt_arrangement.lo overlap.lo call_tri.lo compute_hierarchy.lo delaunay.lo multispline.lo
x86_64-linux-libtool: link: ar cru .libs/libneatogen_C.a .libs/adjust.o .libs/circuit.o .libs/edges.o .libs/geometry.o .libs/heap.o .libs/hedges.o .libs/info.o .libs/neatoinit.o .libs/legal.o .libs/lu.o .libs/matinv.o .libs/memory.o .libs/poly.o .libs/printvis.o .libs/site.o .libs/solve.o .libs/neatosplines.o .libs/stuff.o .libs/voronoi.o .libs/stress.o .libs/kkutils.o .libs/matrix_ops.o .libs/embed_graph.o .libs/dijkstra.o .libs/conjgrad.o .libs/pca.o .libs/closest.o .libs/bfs.o .libs/constraint.o .libs/quad_prog_solve.o .libs/smart_ini_x.o .libs/constrained_majorization.o .libs/opt_arrangement.o .libs/overlap.o .libs/call_tri.o .libs/compute_hierarchy.o .libs/delaunay.o .libs/multispline.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libneatogen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libneatogen_C.la" && ln -s "../libneatogen_C.la" "libneatogen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/neatogen'
Making all in twopigen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/twopigen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o twopiinit.lo twopiinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c twopiinit.c -fPIC -DPIC -o .libs/twopiinit.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o circle.lo circle.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c circle.c -fPIC -DPIC -o .libs/circle.o
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);
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libtwopigen_C.la twopiinit.lo circle.lo
x86_64-linux-libtool: link: ar cru .libs/libtwopigen_C.a .libs/twopiinit.o .libs/circle.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libtwopigen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libtwopigen_C.la" && ln -s "../libtwopigen_C.la" "libtwopigen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/twopigen'
Making all in sfdpgen
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfdpgen'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sfdpinit.lo sfdpinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sfdpinit.c -fPIC -DPIC -o .libs/sfdpinit.o
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 ‘late_smooth’:
sfdpinit.c:219:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:219:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
sfdpinit.c:237:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:237:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
sfdpinit.c:243:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:243:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
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_layout’:
sfdpinit.c:341:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~
sfdpinit.c:341:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef]
#if (HAVE_GTS || HAVE_TRIANGLE)
^~~~~~~~~~~~~
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o PriorityQueue.lo PriorityQueue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c PriorityQueue.c -fPIC -DPIC -o .libs/PriorityQueue.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o Multilevel.lo Multilevel.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c Multilevel.c -fPIC -DPIC -o .libs/Multilevel.o
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:
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o uniform_stress.lo uniform_stress.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c uniform_stress.c -fPIC -DPIC -o .libs/uniform_stress.o
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;
^~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o stress_model.lo stress_model.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c stress_model.c -fPIC -DPIC -o .libs/stress_model.o
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){
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o post_process.lo post_process.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c post_process.c -fPIC -DPIC -o .libs/post_process.o
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){
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o sparse_solve.lo sparse_solve.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c sparse_solve.c -fPIC -DPIC -o .libs/sparse_solve.o
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){
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o spring_electrical.lo spring_electrical.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/sparse -I../../lib/rbtree -I../../lib/pack -I../../lib/pathplan -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c spring_electrical.c -fPIC -DPIC -o .libs/spring_electrical.o
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);
^~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libsfdpgen_C.la sfdpinit.lo spring_electrical.lo sparse_solve.lo post_process.lo stress_model.lo uniform_stress.lo Multilevel.lo PriorityQueue.lo
x86_64-linux-libtool: link: ar cru .libs/libsfdpgen_C.a .libs/sfdpinit.o .libs/spring_electrical.o .libs/sparse_solve.o .libs/post_process.o .libs/stress_model.o .libs/uniform_stress.o .libs/Multilevel.o .libs/PriorityQueue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libsfdpgen_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libsfdpgen_C.la" && ln -s "../libsfdpgen_C.la" "libsfdpgen_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/sfdpgen'
Making all in osage
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/osage'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o osageinit.lo osageinit.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/neatogen -I../../lib/fdpgen -I../../lib/pack -I../../lib/pathplan -I../../lib/sparse -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c osageinit.c -fPIC -DPIC -o .libs/osageinit.o
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)
^~~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libosage_C.la osageinit.lo
x86_64-linux-libtool: link: ar cru .libs/libosage_C.a .libs/osageinit.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libosage_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libosage_C.la" && ln -s "../libosage_C.la" "libosage_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/osage'
Making all in gvpr
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvpr'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o mkdefs.o mkdefs.c
mkdefs.c: In function ‘genGuard’:
mkdefs.c:91:17: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion]
*guard++ = toupper(c);
^~~~~~~
groff -Tps -man ./gvpr.3 | false - - >gvpr.3.pdf
troff: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/bin/../../usr/share/groff/1.22.4/tmac/an-old.tmac:696: warning: can't find macro file 'man.local'
Makefile:1118: recipe for target 'gvpr.3.pdf' failed
make[3]: [gvpr.3.pdf] Error 1 (ignored)
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o mkdefs mkdefs.o
x86_64-linux-libtool: link: gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o mkdefs mkdefs.o -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib
./mkdefs gdefs.h < ../../lib/gvpr/gprdata
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o actions.lo actions.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c actions.c -fPIC -DPIC -o .libs/actions.o
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)
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o queue.lo queue.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c queue.c -fPIC -DPIC -o .libs/queue.o
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)
^~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o parse.lo parse.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c parse.c -fPIC -DPIC -o .libs/parse.o
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)) {
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gprstate.lo gprstate.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gprstate.c -fPIC -DPIC -o .libs/gprstate.o
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);
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvpr.lo gvpr.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvpr.c -fPIC -DPIC -o .libs/gvpr.o
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;
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\"" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o compile.lo compile.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH=\".:TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/graphviz/gvpr\" -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c compile.c -fPIC -DPIC -o .libs/compile.o
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)
^~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info "2:0:0" -no-undefined -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvpr.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib 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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/actions.o .libs/compile.o .libs/gvpr.o .libs/gprstate.o .libs/parse.o .libs/queue.o -Wl,--whole-archive ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/expr/.libs/libexpr_C.a -Wl,--no-whole-archive -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/cdt/.libs/libcdt.so ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so -lm -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvpr.so.2 -o .libs/libgvpr.so.2.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvpr.so.2" && ln -s "libgvpr.so.2.0.0" "libgvpr.so.2")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvpr.so" && ln -s "libgvpr.so.2.0.0" "libgvpr.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvpr.la" && ln -s "../libgvpr.la" "libgvpr.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvpr_C.la actions.lo compile.lo gvpr.lo gprstate.lo parse.lo queue.lo
x86_64-linux-libtool: link: ar cru .libs/libgvpr_C.a .libs/actions.o .libs/compile.o .libs/gvpr.o .libs/gprstate.o .libs/parse.o .libs/queue.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvpr_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvpr_C.la" && ln -s "../libgvpr_C.la" "libgvpr_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvpr'
Making all in spine
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/spine'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o quad.lo quad.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c quad.c -fPIC -DPIC -o .libs/quad.o
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);
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o union_find.lo union_find.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c union_find.c -fPIC -DPIC -o .libs/union_find.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o subset.lo subset.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c subset.c -fPIC -DPIC -o .libs/subset.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o spine.lo spine.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/cdt -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c spine.c -fPIC -DPIC -o .libs/spine.o
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);
^~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libspine_C.la quad.lo spine.lo subset.lo union_find.lo
x86_64-linux-libtool: link: ar cru .libs/libspine_C.a .libs/quad.o .libs/spine.o .libs/subset.o .libs/union_find.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libspine_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libspine_C.la" && ln -s "../libspine_C.la" "libspine_C.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/spine'
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib'
Making all in plugin
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin'
Making all in core
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/core'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin_core.lo gvplugin_core.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin_core.c -fPIC -DPIC -o .libs/gvplugin_core.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage_core.lo gvloadimage_core.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage_core.c -fPIC -DPIC -o .libs/gvloadimage_core.o
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: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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_pic.lo gvrender_core_pic.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_pic.c -fPIC -DPIC -o .libs/gvrender_core_pic.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_pov.lo gvrender_core_pov.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_pov.c -fPIC -DPIC -o .libs/gvrender_core_pov.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_vml.lo gvrender_core_vml.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_vml.c -fPIC -DPIC -o .libs/gvrender_core_vml.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_tk.lo gvrender_core_tk.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_tk.c -fPIC -DPIC -o .libs/gvrender_core_tk.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_svg.lo gvrender_core_svg.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_svg.c -fPIC -DPIC -o .libs/gvrender_core_svg.o
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)
^~~~~~~~~~~~
gawk -f ../../awk/stringize.awk ./ps.txt > ps.h
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_mp.lo gvrender_core_mp.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_mp.c -fPIC -DPIC -o .libs/gvrender_core_mp.o
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;
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_ps.lo gvrender_core_ps.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_ps.c -fPIC -DPIC -o .libs/gvrender_core_ps.o
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)
^~~~~~~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_map.lo gvrender_core_map.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_map.c -fPIC -DPIC -o .libs/gvrender_core_map.o
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));
^
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_fig.lo gvrender_core_fig.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_fig.c -fPIC -DPIC -o .libs/gvrender_core_fig.o
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;
^~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_json.lo gvrender_core_json.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_json.c -fPIC -DPIC -o .libs/gvrender_core_json.o
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;
^~~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvrender_core_dot.lo gvrender_core_dot.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -I../../lib/gvpr -I../../lib/expr -I../../lib/ast -I../../lib/sfio -I../../lib/xdot -I../../lib/vmalloc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvrender_core_dot.c -fPIC -DPIC -o .libs/gvrender_core_dot.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvplugin_core_C.la 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
x86_64-linux-libtool: link: ar cru .libs/libgvplugin_core_C.a .libs/gvplugin_core.o .libs/gvrender_core_dot.o .libs/gvrender_core_json.o .libs/gvrender_core_fig.o .libs/gvrender_core_map.o .libs/gvrender_core_mp.o .libs/gvrender_core_ps.o .libs/gvrender_core_svg.o .libs/gvrender_core_tk.o .libs/gvrender_core_vml.o .libs/gvrender_core_pov.o .libs/gvrender_core_pic.o .libs/gvloadimage_core.o
ar: `u' modifier ignored since `D' is the default (see `U')
x86_64-linux-libtool: link: ranlib .libs/libgvplugin_core_C.a
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvplugin_core_C.la" && ln -s "../libgvplugin_core_C.la" "libgvplugin_core_C.la" )
../../x86_64-linux-libtool --tag=CC --mode=link gcc -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -version-info 6:0:0 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -o libgvplugin_core.la -rpath TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/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
x86_64-linux-libtool: link: gcc -shared -fPIC -DPIC .libs/gvplugin_core.o .libs/gvrender_core_dot.o .libs/gvrender_core_json.o .libs/gvrender_core_fig.o .libs/gvrender_core_map.o .libs/gvrender_core_mp.o .libs/gvrender_core_ps.o .libs/gvrender_core_svg.o .libs/gvrender_core_tk.o .libs/gvrender_core_vml.o .libs/gvrender_core_pov.o .libs/gvrender_core_pic.o .libs/gvloadimage_core.o -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/gvc/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib ../../lib/gvc/.libs/libgvc.so -L/usr/lib64 -lltdl TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/xdot/.libs/libxdot.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/pathplan/.libs/libpathplan.so -lexpat -lz -lm ../../lib/cgraph/.libs/libcgraph.so TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/lib/cdt/.libs/libcdt.so ../../lib/cdt/.libs/libcdt.so -O2 -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmpfs/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-soname -Wl,libgvplugin_core.so.6 -o .libs/libgvplugin_core.so.6.0.0
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvplugin_core.so.6" && ln -s "libgvplugin_core.so.6.0.0" "libgvplugin_core.so.6")
x86_64-linux-libtool: link: (cd ".libs" && rm -f "libgvplugin_core.so" && ln -s "libgvplugin_core.so.6.0.0" "libgvplugin_core.so")
x86_64-linux-libtool: link: ( cd ".libs" && rm -f "libgvplugin_core.la" && ln -s "../libgvplugin_core.la" "libgvplugin_core.la" )
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/core'
Making all in devil
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/devil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/devil'
Making all in gd
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gd'
Making all in gdk
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdk'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdk'
Making all in gdiplus
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdiplus'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gdiplus'
Making all in glitz
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/glitz'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/glitz'
Making all in gs
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gs'
Making all in gtk
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gtk'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/gtk'
Making all in lasi
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/lasi'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/lasi'
Making all in ming
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/ming'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/ming'
Making all in pango
make[3]: Entering directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/pango'
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvplugin_pango.lo gvplugin_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvplugin_pango.c -fPIC -DPIC -o .libs/gvplugin_pango.o
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvloadimage_pango.lo gvloadimage_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvloadimage_pango.c -fPIC -DPIC -o .libs/gvloadimage_pango.o
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)
^~~~~~
../../x86_64-linux-libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c -o gvtextlayout_pango.lo gvtextlayout_pango.c
x86_64-linux-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/common -I../../lib/pathplan -I../../lib/gvc -I../../lib/cgraph -I../../lib/cdt -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/fribidi -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/harfbuzz -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/cairo -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/libffi-3.2.1/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-1 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/uuid -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libpng16 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/share/pkgconfig/../../../usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/freetype2 -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -ITOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -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 -ffast-math -c gvtextlayout_pango.c -fPIC -DPIC -o .libs/gvtextlayout_pango.o
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:140:10: error: unknown type name ‘FT_Face’
FT_Face face;
^~~~~~~
gvtextlayout_pango.c:142:10: error: unknown type name ‘FT_Stream’
FT_Stream stream;
^~~~~~~~~
gvtextlayout_pango.c:143:10: error: unknown type name ‘FT_StreamDesc’
FT_StreamDesc streamdesc;
^~~~~~~~~~~~~
gvtextlayout_pango.c:145:10: warning: ‘pango_fc_font_lock_face’ is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations]
face = pango_fc_font_lock_face(fcfont);
^~~~
In file included from gvtextlayout_pango.c:27:0:
TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0/pango/pangofc-font.h:67:12: note: declared here
gpointer pango_fc_font_lock_face (PangoFcFont *font);
^~~~~~~~~~~~~~~~~~~~~~~
gvtextlayout_pango.c:145:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
face = pango_fc_font_lock_face(fcfont);
^
gvtextlayout_pango.c:148:23: error: invalid type argument of ‘->’ (have ‘int’)
strcat(buf, face->family_name);
^~
gvtextlayout_pango.c:150:23: error: invalid type argument of ‘->’ (have ‘int’)
strcat(buf, face->style_name);
^~
gvtextlayout_pango.c:153:20: error: invalid type argument of ‘->’ (have ‘int’)
stream = face->stream;
^~
gvtextlayout_pango.c:155:23: error: invalid type argument of ‘->’ (have ‘int’)
streamdesc = stream->pathname;
^~
gvtextlayout_pango.c:156:18: error: request for member ‘pointer’ in something not a structure or union
if (streamdesc.pointer)
^
gvtextlayout_pango.c:157:37: error: request for member ‘pointer’ in something not a structure or union
strcat(buf, (char*)streamdesc.pointer);
^
gvtextlayout_pango.c:164:10: warning: ‘pango_fc_font_unlock_face’ is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations]
pango_fc_font_unlock_face(fcfont);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gvtextlayout_pango.c:27:0:
TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pango-1.0/pango/pangofc-font.h:69:12: note: declared here
void pango_fc_font_unlock_face (PangoFcFont *font);
^~~~~~~~~~~~~~~~~~~~~~~~~
gvtextlayout_pango.c:143:24: warning: variable ‘streamdesc’ set but not used [-Wunused-but-set-variable]
FT_StreamDesc streamdesc;
^~~~~~~~~~
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 */
^~~
Makefile:767: recipe for target 'gvtextlayout_pango.lo' failed
make[3]: *** [gvtextlayout_pango.lo] Error 1
make[3]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin/pango'
Makefile:582: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1/plugin'
Makefile:827: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/graphviz-stable_release_2.40.1'
Makefile:637: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: TOPDIR/build/tmpfs/work/x86_64-linux/graphviz-native/2.40.1-r0/temp/run.do_compile.18085:1 exit 1 from 'exit 1'