Cook: graphviz 2.44.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): autoconf-2.69-i486 Installing (pkg/local): automake-1.16.2-any Installing (pkg/local): expat-dev-2.2.9-any Installing (pkg/local): gc-7.2-i486 Installing (pkg/local): gc-dev-7.2-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libjpeg-turbo-2.0.1-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): libtiff-4.0.10-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): gdk-pixbuf-2.40.0-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): util-linux-blkid-dev-2.33.1-any Installing (pkg/local): util-linux-mount-dev-2.33.1-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): glib-dev-2.64.3-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): shared-mime-info-1.10-i486 Installing (pkg/local): shared-mime-info-dev-1.10-any Installing (pkg/local): gdk-pixbuf-dev-2.40.0-i486 Installing (pkg/local): gmp-dev-6.2.0-i486 Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): guile-2.2.4-i486 Installing (pkg/local): guile-dev-2.2.4-i486 Installing (pkg/local): libcroco-0.6.12-i486 Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libxml2-tools-2.9.9-i486 Installing (pkg/local): libxml2-dev-2.9.9-any Installing (pkg/local): libcroco-dev-0.6.12-any Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): freetype-2.10.2-i486 Installing (pkg/local): fontconfig-2.13.1-i486 Installing (pkg/local): libwebp-1.0.2-i486 Installing (pkg/local): libxpm-3.5.12-i486 Installing (pkg/local): libgd-2.2.5-i486 Installing (pkg/local): bzip2-dev-1.0.8-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): libcairo-1.16.0-i486 Installing (pkg/local): harfbuzz-1.8.4-i486 Installing (pkg/local): harfbuzz-dev-1.8.4-i486 Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): freetype-dev-2.10.2-i486 Installing (pkg/local): fontconfig-dev-2.13.1-any Installing (pkg/local): jpeg-turbo-2.0.1-i486 Installing (pkg/local): libjpeg-turbo-dev-2.0.1-any Installing (pkg/local): giflib-5.2.1-i486 Installing (pkg/local): webp-1.0.2-i486 Installing (pkg/local): libwebp-dev-1.0.2-any Installing (pkg/local): tiff-4.0.10-i486 Installing (pkg/local): tiff-dev-4.0.10-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxt-1.1.5-i486 Installing (pkg/local): libxpm-util-3.5.12-i486 Installing (pkg/local): libxpm-dev-3.5.12-any Installing (pkg/local): libgd-dev-2.2.5-i486 md5sum: can't open 'librsvg-dev-2.42.2-i486.tazpkg': No such file or directory /usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory /usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-dev-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.75ZFJs/receipt': No such file or directory /usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.75ZFJs/receipt.var': No such file or directory md5sum: can't open 'librsvg-2.42.2-i486.tazpkg': No such file or directory /usr/libexec/tazpkg/install: line 434: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 435: can't open './receipt': No such file or directory /usr/libexec/tazpkg/install: line 215: can't open /var/cache/tazpkg/next/packages/librsvg-2.42.2-i486.tazpkg: no such file /usr/libexec/tazpkg/install: .: line 217: can't open '/tmp/tmp.UERrUI/receipt': No such file or directory /usr/libexec/tazpkg/install: .: line 233: can't open '/tmp/tmp.UERrUI/receipt.var': No such file or directory Installing (pkg/local): libtool-2.4.6-i486 Installing (pkg/local): ocaml-4.06.1-i486 Installing (pkg/local): fribidi-1.0.9-i486 Installing (pkg/local): libxrender-0.9.10-i486 Installing (pkg/local): libxft-2.3.2-i486 Installing (pkg/local): pango-1.42.4-i486 Installing (pkg/local): pango-typelib-1.42.4-i486 Installing (pkg/local): cairo-1.16.0-i486 Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxrender-dev-0.9.10-any Installing (pkg/local): pixman-dev-0.36.0-any Installing (pkg/local): cairo-dev-1.16.0-any Installing (pkg/local): fribidi-dev-1.0.9-any Installing (pkg/local): libxft-dev-2.3.2-any Installing (pkg/local): pango-dev-1.42.4-any Installing (pkg/local): perl-dev-5.28.1-i486 Installing (pkg/local): python-dev-2.7.15-i486 Installing (pkg/local): libruby-2.5.1-i486 Installing (pkg/local): ruby-2.5.1-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): ruby-stdlib-2.5.1-i486 Installing (pkg/local): ruby-dev-2.5.1-i486 Installing (pkg/local): swig-3.0.12-i486 Installing (pkg/local): tcl-8.6.9-i486 Installing (pkg/local): tcl-dev-8.6.9-i486 Installing (pkg/local): libxscrnsaver-1.2.3-i486 Installing (pkg/local): tk-8.6.9.1-i486 Installing (pkg/local): libxscrnsaver-dev-1.2.3-any Installing (pkg/local): tk-dev-8.6.9.1-i486 Installing (pkg/local): libxrandr-1.5.1-i486 Installing (pkg/local): libxrandr-dev-1.5.1-any Installing (pkg/local): libxfixes-5.0.3-i486 Installing (pkg/local): libxfixes-dev-5.0.3-any Installing (pkg/local): libfontenc-1.1.3-i486 Installing (pkg/local): libfontenc-dev-1.1.3-any Installing (pkg/local): libxfont-1.5.4-i486 Installing (pkg/local): libxfont-dev-1.5.4-any Installing (pkg/local): libxcomposite-0.4.4-i486 Installing (pkg/local): libxcomposite-dev-0.4.4-any Installing (pkg/local): libxkbfile-1.0.9-i486 Installing (pkg/local): libxkbfile-dev-1.0.9-any Installing (pkg/local): libice-dev-1.0.9-any Installing (pkg/local): libsm-dev-1.2.3-any Installing (pkg/local): libxt-dev-1.1.5-any Installing (pkg/local): libxinerama-1.1.4-i486 Installing (pkg/local): libxinerama-dev-1.1.4-any Installing (pkg/local): libxmu-1.1.2-i486 Installing (pkg/local): libxmu-dev-1.1.2-any Installing (pkg/local): libxaw-1.0.13-i486 Installing (pkg/local): libxaw-dev-1.0.13-any Installing (pkg/local): libxtst-1.2.3-i486 Installing (pkg/local): libxi-1.7.9-i486 Installing (pkg/local): libxi-dev-1.7.9-any Installing (pkg/local): libxtst-dev-1.2.3-any Installing (pkg/local): libxcursor-1.1.15-i486 Installing (pkg/local): libxcursor-dev-1.1.15-any Installing (pkg/local): libxdamage-1.1.4-i486 Installing (pkg/local): libxdamage-dev-1.1.4-any Installing (pkg/local): xorg-dev-7.7-any Installing (pkg/local): xauth-1.0.10-i486 Installing (pkg/local): font-misc-misc-base-1.1.2-any Installing (pkg/local): libpciaccess-0.14-i486 Installing (pkg/local): libxxf86vm-1.1.4-i486 Installing (pkg/local): xkbcomp-1.4.2-i486 Installing (pkg/local): xkeyboard-config-2.25-any Installing (pkg/local): xorg-7.7-any Extracting source archive "graphviz-2.44.0.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for library containing strerror... none required checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for gawk... (cached) awk checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i486-slitaz-linux-nm -B checking the name lister (/usr/bin/i486-slitaz-linux-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/i486-slitaz-linux-nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gsed... /bin/sed checking for gsort... no checking for sort... sort checking for egrep... /bin/grep -E checking for groff... false checking for ps2pdf... false checking for pstopdf... (cached) false checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config checking pkg-config is at least version 0.9.0... yes checking for tclsh8.6... /usr/bin/tclsh8.6 checking for i486-slitaz-linux-gcc option to accept ISO C99... none needed checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E checking for ld used by i486-slitaz-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i486-slitaz-linux-g++ option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-g++ static flag -static works... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether we are using the GNU Objective C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for inline... inline checking for windres... no checking for i486-slitaz-linux-gnu-windres... no checking for pid_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for off64_t... no checking for struct stat64... no checking for ... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking stat.h usability... no checking stat.h presence... no checking for stat.h... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/vfork.h usability... no checking sys/vfork.h presence... no checking for sys/vfork.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for main in -lm... yes checking for sincos... yes checking for lrand48... yes checking for drand48... yes checking for srand48... yes checking for setmode... no checking for setenv... yes checking for getenv... yes checking for cbrt... no checking for vsnprintf... yes checking for _NSGetEnviron... no checking for mallopt... yes checking for mallinfo... yes checking for mstats... no checking for getpagesize... yes checking for ftruncate... yes checking for lseek64... yes checking for stat64... yes checking for vfork... yes checking for unlink... yes checking for waitpid... yes checking for select... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strcasestr... yes checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/local/lib /opt/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking for lt_dladvise_init in -lltdl... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for xrender... yes checking for swig... swig checking for mcs... no checking for go... no checking for guile2... no checking for guile1.8... no checking for guile... guile checking for guile-2.0 >= "2.2"... no checking for guile-1.8 >= "2.2"... no checking libguile.h usability... yes checking libguile.h presence... yes checking for libguile.h... yes checking for java... no checking for lua... no checking for ocaml... ocaml checking for ocamlopt... ocamlopt checking caml/mlvalues.h usability... yes checking caml/mlvalues.h presence... yes checking for caml/mlvalues.h... yes checking for perl... perl checking EXTERN.h usability... yes checking EXTERN.h presence... yes checking for EXTERN.h... yes checking for php7.2... no checking for php7-config... no ./configure: line 1: php-config: not found ./configure: line 1: php-config: not found ./configure: line 1: php-config: not found ./configure: line 1: php-config: not found checking php.h usability... no checking php.h presence... no checking for php.h... no checking for python... python checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for python2... python2 checking for Python2 headers and libraries with pkg-config... checking for python3... no checking for libR... no checking for ruby... no checking for ruby-... no checking for ruby... ruby checking ruby.h usability... no checking ruby.h presence... no checking for ruby.h... no checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes using /usr/lib/tclConfig.sh checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking for expat-config... no checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for main in -lexpat... yes checking IL/il.h usability... no checking IL/il.h presence... no checking for IL/il.h... no configure: WARNING: Optional DevIL library not available - missing headers checking for main in -lIL... no configure: WARNING: Optional DevIL library not available checking for main in -lXpm... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking for X11/Xaw/Text.h... yes checking for main in -lXaw... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lz... yes checking for deflateBound... no checking for libwebp... yes checking for poppler-glib... no checking for librsvg-2.0... no checking for librsvg-2.0 >= 2.36.0 cairo >= 1.0.0... no checking ghostscript/iapi.h usability... no checking ghostscript/iapi.h presence... no checking for ghostscript/iapi.h... no checking for pangocairo >= 1.14.9... no checking for freetype2... yes checking for fontconfig... yes checking for gdk-2.0... no checking for gdk-pixbuf-2.0... no checking for gtk+-2.0 >= 2.7.0... no checking for gtkgl-2.0... no checking for gtkglext-1.0... no checking for gts... no checking for ann... no checking for libglade-2.0... no checking whether C compiler accepts -std=c++11... yes checking for qmake-qt5... no checking for qmake-qt4... no checking for qmake... no checking for gdlib >= 2.0.33... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for main in -lgd... yes checking GL/glut.h usability... no checking GL/glut.h presence... no checking for GL/glut.h... no configure: WARNING: Optional glut library not available - no GL/glut.h configure: WARNING: SMYRNA requires GTK configure: WARNING: SMYRNA requires GTKGLEXT configure: WARNING: SMYRNA requires GLADE configure: WARNING: SMYRNA requires GTS configure: WARNING: SMYRNA requires GLUT checking if FILE struct contains _cnt... no checking if FILE struct contains _r... no checking if FILE struct contains _next... no checking if FILE struct contains _IO_read_end... yes checking if intptr_t is declared... yes checking if assert needs __eprintf... no checking for main in -lcriterion... no configure: WARNING: Criterion unit testing framework not installed checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating debian/changelog config.status: creating doc/Makefile config.status: creating doc/info/Makefile config.status: creating doc/schema/Makefile config.status: creating contrib/Makefile config.status: creating contrib/prune/Makefile config.status: creating contrib/diffimg/Makefile config.status: creating graphs/Makefile config.status: creating graphs/directed/Makefile config.status: creating graphs/undirected/Makefile config.status: creating lib/Makefile config.status: creating lib/cdt/Makefile config.status: creating lib/cdt/libcdt.pc config.status: creating lib/cgraph/Makefile config.status: creating lib/cgraph/libcgraph.pc config.status: creating lib/rbtree/Makefile config.status: creating lib/pathplan/Makefile config.status: creating lib/pathplan/libpathplan.pc config.status: creating lib/ast/Makefile config.status: creating lib/sfio/Makefile config.status: creating lib/sfio/Sfio_f/Makefile config.status: creating lib/spine/Makefile config.status: creating lib/vmalloc/Makefile config.status: creating lib/dotgen/Makefile config.status: creating lib/neatogen/Makefile config.status: creating lib/fdpgen/Makefile config.status: creating lib/sparse/Makefile config.status: creating lib/mingle/Makefile config.status: creating lib/label/Makefile config.status: creating lib/sfdpgen/Makefile config.status: creating lib/sfdpgen/libsfdp.pc config.status: creating lib/osage/Makefile config.status: creating lib/edgepaint/Makefile config.status: creating lib/edgepaint/liblab_gamut.pc config.status: creating lib/gvpr/Makefile config.status: creating lib/gvpr/libgvpr.pc config.status: creating lib/circogen/Makefile config.status: creating lib/twopigen/Makefile config.status: creating lib/patchwork/Makefile config.status: creating lib/pack/Makefile config.status: creating lib/ortho/Makefile config.status: creating lib/expr/Makefile config.status: creating lib/expr/libexpr.pc config.status: creating lib/common/Makefile config.status: creating lib/ingraphs/Makefile config.status: creating lib/vpsc/Makefile config.status: creating lib/gvc/Makefile config.status: creating lib/gvc/libgvc.pc config.status: creating lib/xdot/Makefile config.status: creating lib/xdot/libxdot.pc config.status: creating lib/topfish/Makefile config.status: creating lib/glcomp/Makefile config.status: creating macosx/Info.plist config.status: creating macosx/build/graphviz.pmdoc/01local.xml config.status: creating macosx/build/graphviz.pmdoc/02graphviz.xml config.status: creating windows/build/graphviz.wxs config.status: creating windows/Properties/AssemblyInfo.cs config.status: creating plugin/Makefile config.status: creating plugin/core/Makefile config.status: creating plugin/devil/Makefile config.status: creating plugin/gd/Makefile config.status: creating plugin/gdk/Makefile config.status: creating plugin/gdiplus/Makefile config.status: creating plugin/glitz/Makefile config.status: creating plugin/gs/Makefile config.status: creating plugin/gtk/Makefile config.status: creating plugin/lasi/Makefile config.status: creating plugin/ming/Makefile config.status: creating plugin/pango/Makefile config.status: creating plugin/poppler/Makefile config.status: creating plugin/quartz/Makefile config.status: creating plugin/rsvg/Makefile config.status: creating plugin/visio/Makefile config.status: creating plugin/webp/Makefile config.status: creating plugin/xlib/Makefile config.status: creating plugin/dot_layout/Makefile config.status: creating plugin/neato_layout/Makefile config.status: creating cmd/Makefile config.status: creating cmd/dot/Makefile config.status: creating cmd/tools/Makefile config.status: creating cmd/gvpr/Makefile config.status: creating cmd/gvpr/lib/Makefile config.status: creating cmd/lefty/ws/x11/libfilereq/Makefile config.status: creating cmd/lefty/ws/x11/Makefile config.status: creating cmd/lefty/ws/mswin32/Makefile config.status: creating cmd/lefty/ws/Makefile config.status: creating cmd/lefty/os/unix/Makefile config.status: creating cmd/lefty/os/mswin32/Makefile config.status: creating cmd/lefty/os/Makefile config.status: creating cmd/lefty/dot2l/Makefile config.status: creating cmd/lefty/examples/Makefile config.status: creating cmd/lefty/Makefile config.status: creating cmd/lneato/Makefile config.status: creating cmd/dotty/Makefile config.status: creating cmd/smyrna/Makefile config.status: creating cmd/gvmap/Makefile config.status: creating cmd/mingle/Makefile config.status: creating cmd/edgepaint/Makefile config.status: creating cmd/gvedit/Makefile config.status: creating cmd/gvedit/gvedit.pro config.status: creating cmd/gvedit/ui/Makefile config.status: creating cmd/gvedit/images/Makefile config.status: creating tclpkg/Makefile config.status: creating tclpkg/tclstubs/Makefile config.status: creating tclpkg/tclhandle/Makefile config.status: creating tclpkg/gdtclft/Makefile config.status: creating tclpkg/gdtclft/demo/Makefile config.status: creating tclpkg/tcldot/Makefile config.status: creating tclpkg/tcldot/demo/Makefile config.status: creating tclpkg/tclpathplan/Makefile config.status: creating tclpkg/tclpathplan/demo/Makefile config.status: creating tclpkg/tclpathplan/demo/pathplan_data/Makefile config.status: creating tclpkg/gv/Makefile config.status: creating tclpkg/gv/demo/Makefile config.status: creating tclpkg/gv/META.gv config.status: creating rtest/Makefile config.status: creating rtest/graphs/Makefile config.status: creating rtest/linux.x86/Makefile config.status: creating tests/Makefile config.status: creating tests/unit_tests/Makefile config.status: creating tests/unit_tests/lib/Makefile config.status: creating tests/unit_tests/lib/common/Makefile config.status: creating tests/regression_tests/Makefile config.status: creating tests/regression_tests/shapes/Makefile config.status: creating tests/regression_tests/shapes/reference/Makefile config.status: creating tests/regression_tests/vuln/Makefile config.status: creating tests/regression_tests/vuln/input/Makefile config.status: creating tests/regression_tests/vuln/reference/Makefile config.status: creating share/Makefile config.status: creating share/examples/Makefile config.status: creating share/gui/Makefile config.status: creating redhat/graphviz.spec.fedora config.status: creating redhat/graphviz.spec.rhel config.status: creating Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in libltdl (/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=i486-slitaz-linux' '--host=i486-slitaz-linux' 'build_alias=i486-slitaz-linux' 'host_alias=i486-slitaz-linux' 'CFLAGS=-march=i486 -Os -pipe -mindirect-branch=thunk' 'LDFLAGS=-Wl,-Os,--as-needed' 'CPPFLAGS=-D_GLIBCXX_USE_C99_MATH=1' 'CXXFLAGS=-march=i486 -Os -pipe -mindirect-branch=thunk' --cache-file=/dev/null --srcdir=. configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i486-slitaz-linux-nm -B checking the name lister (/usr/bin/i486-slitaz-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/i486-slitaz-linux-nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/local/lib /opt/lib checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---------------------------------------------------------------- graphviz-2.44.0 will be compiled with the following: options: cgraph: Yes (always enabled) digcola: Yes expat: Yes fontconfig: Yes freetype: Yes glut: No (missing GL/glut.h) ann: No (no ann.pc found) gts: No (gts library not available) ipsepcola: Yes ltdl: Yes ortho: Yes sfdp: Yes swig: Yes ( 3.0.12 ) shared: Yes static: No (disabled by default) qt: No (qmake not found) x: Yes commands: dot: Yes (always enabled) neato: Yes (always enabled) fdp: Yes (always enabled) circo: Yes (always enabled) twopi: Yes (always enabled) gvpr: Yes (always enabled) gvmap: Yes (always enabled) lefty: Yes smyrna: No (requires: gtk+ gtkglext glade gts glut) gvedit: No (qmake not found) plugin libraries: dot_layout: Yes (always enabled) neato_layout: Yes (always enabled) core: Yes (always enabled) devil: No (missing library) gd: Yes gdiplus: No (disabled by default - Windows only) gdk: gdk_pixbuf: No (gdk_pixbuf library not available) ghostscript: No (missing headers) glitz: No (disabled by default - incomplete) gtk: No (gtk library not available) lasi: No (missing pangocairo support) ming: No (disabled by default - incomplete) pangocairo: No (pangocairo library not available) poppler: No (poppler library not available) quartz: No (disabled by default - Mac only) rsvg: No (rsvg library not available) visio: Yes webp: Yes xlib: Yes language extensions: gv_sharp: No (mcs not available) gv_d: No (disabled by default - incomplete gv_go: No (GO compiler not available) gv_guile: Yes gv_io: No (disabled by default - no swig support yet) gv_java: No (java not available) gv_javascript: No (disabled by default - incomplete gv_lua: No (lua not available) gv_ocaml: Yes gv_perl: Yes gv_php: No (missing header) gv_python: Yes gv_python2: Yes gv_python3: No (python3 is too old) gv_R: No (R not available) gv_ruby: No (missing header) gv_tcl: Yes tcldot: Yes tclpathplan: Yes gdtclft: Yes Testing utilities: criterion: No (Criterion unit testing framework not installed) (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/slitaz/wok/graphviz/source/graphviz-2.44.0/config/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /bin/grep -E 'PACKAGE|VERSION|GVPLUGIN' config.h > ./graphviz_version.h make all-recursive make[1]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' Making all in libltdl make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/slitaz/wok/graphviz/source/graphviz-2.44.0/config/missing autoheader) rm -f stamp-h1 touch config-h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-am make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.lo CC lt__strl.lo CC loaders/dlopen.lo CC loaders/libltdlc_la-preopen.lo CCLD dlopen.la CCLD libltdlc.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' Making all in lib make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' Making all in cdt make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' CC dtclose.lo CC dtdisc.lo CC dtflatten.lo CC dtextract.lo CC dthash.lo CC dtlist.lo dthash.c: In function 'dthtab': dthash.c:49:47: warning: conversion to '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: dthdr.h:36: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:36: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:36: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:36: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:10, from dthash.c:1: dthash.c:178:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) == 0) ^~ ./cdt.h:213:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ In file included from dthash.c:1: dthdr.h:36: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); ^~~~~~ 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) ~~~~~~~~~~^~~~ CC dtmethod.lo In file included from dthdr.h:10, from dtlist.c:1: dtlist.c: In function 'dtlist': dtlist.c:127:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) == 0) ^~ ./cdt.h:213:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ CC dtopen.lo CC dtrenew.lo CC dtrestore.lo CC dtsize.lo CC dtstat.lo CC dtstrhash.lo In file included from dtrenew.c:1: dtrenew.c: In function 'dtrenew': dthdr.h:36: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); ^~~~~~ CC dttree.lo CC dtview.lo CC dtwalk.lo dtstat.c: In function 'dtstat': dtstat.c:59:44: warning: conversion to '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if(!(Count = (int*)malloc((ds->dt_n+1)*sizeof(int))) ) ^ 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: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; ^ In file included from dthdr.h:10, from dttree.c:1: dttree.c: In function 'dttree': dttree.c:70:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) != 0) ^~ ./cdt.h:213: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 '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:213: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 '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:213: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 '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:213: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 '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:213: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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) != 0) ^~ ./cdt.h:213:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ In file included from dthdr.h:10, from dtview.c:1: dtview.c: In function 'dtvsearch': dtview.c:41:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz); ^~ ./cdt.h:213: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; ^~ CCLD libcdt.la CCLD libcdt_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' Making all in cgraph make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' CC agerror.lo CC agxbuf.lo CC apply.lo CC edge.lo CC attr.lo CC flatten.lo flatten.c:23:6: warning: no previous prototype for 'agflatten_edges' [-Wmissing-prototypes] void agflatten_edges(Agraph_t * g, Agnode_t * n, int flag) ^~~~~~~~~~~~~~~ flatten.c:56:6: warning: no previous prototype for 'agnotflat' [-Wmissing-prototypes] void agnotflat(Agraph_t * g) ^~~~~~~~~ CC graph.lo agerror.c: In function 'aglasterr': agerror.c:52:29: warning: conversion to 'size_t' {aka '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 '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 '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((np = (char*)realloc(buf, bufsz)) == NULL) { ^~~~~ 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, from ./cghdr.h:34, from attr.c:14: ../../lib/cdt/cdt.h:88:13: note: 'memoryf' declared here Dtmemory_f memoryf;/* to allocate/free memory */ ^~~~~~~ agerror.c: In function 'agerr_va': agerror.c:17:22: warning: comparison of integer expressions of different signedness: 'int' and 'agerrlevel_t' {aka 'enum '} [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ agerror.c:114:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ 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 }; ^~~~~~ agerror.c:17:27: warning: operand of ?: changes signedness from 'int' to 'agerrlevel_t' {aka 'enum '} due to unsignedness of other operand [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^~~ agerror.c:114:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ In file included from ./cghdr.h:34, from attr.c:14: ./cgraph.h:157:14: note: 'has_attrs' declared here unsigned has_attrs:1; /* if string attr tables should be initialized */ ^~~~~~~~~ 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:114: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:114:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ 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 from 'int' to 'unsigned char' may change value [-Wconversion] sym->kind = kind; ^~~~ attr.c: At top level: 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sym->id * ^ attr.c:249:16: warning: conversion to '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; ^~ attr.c: In function 'init_all_attrs': attr.c:520:37: warning: cast between incompatible function types from 'void (*)(Agraph_t *)' {aka 'void (*)(struct Agraph_s *)'} to 'void (*)(Agraph_t *, Agobj_t *, void *)' {aka 'void (*)(struct Agraph_s *, struct Agobj_s *, void *)'} [-Wcast-function-type] agapply(root, (Agobj_t *) root, (agobjfn_t) agraphattr_init, ^ 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 from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] seq = agnextseq(g, AGEDGE); ^~~~~~~~~ edge.c:229:30: warning: conversion from 'int' to 'unsigned int:28' may change 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:501:16: warning: no previous prototype for 'ageqedge' [-Wmissing-prototypes] CGRAPH_API int ageqedge(Agedge_t * e, Agedge_t * f) ^~~~~~~~ edge.c:509:22: warning: no previous prototype for 'agmkout' [-Wmissing-prototypes] CGRAPH_API Agedge_t *agmkout(Agedge_t * e) ^~~~~~~ edge.c:517:22: warning: no previous prototype for 'agmkin' [-Wmissing-prototypes] CGRAPH_API Agedge_t *agmkin(Agedge_t * e) ^~~~~~ edge.c:525:22: warning: no previous prototype for 'agtail' [-Wmissing-prototypes] CGRAPH_API Agnode_t *agtail(Agedge_t * e) ^~~~~~ edge.c:533:22: warning: no previous prototype for 'aghead' [-Wmissing-prototypes] CGRAPH_API Agnode_t *aghead(Agedge_t * e) ^~~~~~ edge.c:541:22: warning: no previous prototype for 'agopp' [-Wmissing-prototypes] CGRAPH_API Agedge_t *agopp(Agedge_t * e) ^~~~~ CC grammar.lo CC id.lo graph.c: In function 'agopen1': graph.c:81:13: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned int:28' may change 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 from 'IDTYPE' {aka 'long long unsigned int'} to 'ptrdiff_t' {aka 'int'} may change value [-Wconversion] 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:34, from graph.c:15: ./cgraph.h:155: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:34, from graph.c:15: ./cgraph.h:155: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:34, from graph.c:15: ./cgraph.h:155: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:34, from graph.c:15: ./cgraph.h:155: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) ^~~~~~~ CC imap.lo id.c: In function 'idopen': id.c:19:45: warning: unused parameter 'disc' [-Wunused-parameter] static void *idopen(Agraph_t * g, Agdisc_t* disc) ~~~~~~~~~~^~~~ id.c: In function 'idmap': id.c:38:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *id = (IDTYPE) s; ^ id.c: In function 'idfree': id.c:59:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] agstrfree((Agraph_t *) state, (char *) id); ^ id.c: In function 'idprint': id.c:67:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (char *) id; ^ id.c: In function 'agnameof': id.c:160:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'IDTYPE' {aka 'long long unsigned int'} [-Wformat=] sprintf(buf, "%c%ld", LOCALNAMEPREFIX, AGID(obj)); ~~^ %lld CC io.lo y.tab.c: In function 'aagparse': y.tab.c:1183:13: warning: conversion from 'int' to 'aagtype_int16' {aka 'short int'} may change value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1188:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~ ../../lib/cgraph/grammar.y: In function 'delete_items': ../../lib/cgraph/grammar.y:245:3: warning: switch missing default case [-Wswitch-default] switch(p->tag) { ^~~~~~ ../../lib/cgraph/grammar.y: In function 'attrstmt': ../../lib/cgraph/grammar.y:350:2: warning: switch missing default case [-Wswitch-default] switch(tkind) { ^~~~~~ ../../lib/cgraph/grammar.y: In function 'getedgeitems': ../../lib/cgraph/grammar.y:403:30: warning: unused parameter 'x' [-Wunused-parameter] static void getedgeitems(int x) ~~~~^ ../../lib/cgraph/grammar.y: In function 'startgraph': ../../lib/cgraph/grammar.y:548:18: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] req.directed = directed; ^~~~~~~~ ../../lib/cgraph/grammar.y:549:16: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] req.strict = strict; ^~~~~~ CC mem.lo CC node.lo CC obj.lo CC pend.lo mem.c: In function 'memopen': mem.c:17:32: warning: unused parameter 'disc' [-Wunused-parameter] static void *memopen(Agdisc_t* disc) ~~~~~~~~~~^~~~ io.c: In function 'iofread': io.c:72:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] return strlen(buf); ^~~~~~~~~~~ io.c: At top level: io.c:131:11: warning: no previous prototype for 'agmemread0' [-Wmissing-prototypes] Agraph_t *agmemread0(Agraph_t *arg_g, const char *cp) ^~~~~~~~~~ io.c: In function 'agmemread0': io.c:140:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] rdr.len = strlen(cp); ^~~~~~ 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:237:7: warning: no previous prototype for 'aggetuserptr' [-Wmissing-prototypes] void *aggetuserptr(Agraph_t * g, Agcbdisc_t * cbd) ^~~~~~~~~~~~ CC refstr.lo CC rec.lo node.c:28:11: warning: no previous prototype for 'agfindnode_by_name' [-Wmissing-prototypes] Agnode_t *agfindnode_by_name(Agraph_t * g, char *name) ^~~~~~~~~~~~~~~~~~ node.c: In function 'newnode': node.c:77:16: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned int:28' may change 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: In function 'agrelabel_node': node.c:242:32: warning: cast between incompatible function types from 'void (*)(Agnode_t *, void *)' {aka 'void (*)(struct Agnode_s *, void *)'} to 'void (*)(Agraph_t *, Agobj_t *, void *)' {aka 'void (*)(struct Agraph_s *, struct Agobj_s *, void *)'} [-Wcast-function-type] agapply(g, (Agobj_t *) n, (agobjfn_t) dict_relabel, ^ 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 from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned int:28' may change value [-Wconversion] AGSEQ(snd) = (g->clos->seq[AGNODE] + 2); ^ In file included from ./cghdr.h:34, from node.c:14: ./cgraph.h:115:21: warning: conversion from 'int' to 'unsigned int:28' may change 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:115:21: warning: conversion from 'int' to 'unsigned int:28' may change value [-Wconversion] #define AGSEQ(obj) (AGTAG(obj).seq) ^ node.c:377:15: note: in expansion of macro 'AGSEQ' AGSEQ(snd) = AGSEQ(fst) - 1; ^~~~~ CC scan.lo pend.c:68:1: warning: missing initializer for field 'memoryf' of 'Dtdisc_t' {aka 'struct _dtdisc_s'} [-Wmissing-field-initializers] }; ^ In file included from ./cgraph.h:18, from ./cghdr.h:34, from pend.c:14: ../../lib/cdt/cdt.h:88: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 from 'int' to 'unsigned char' may change value [-Wconversion] g->clos->callbacks_enabled = flag; ^~~~ pend.c:294:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] g->clos->callbacks_enabled = flag; ^~~~ CC subg.lo refstr.c: In function 'aghtmlstr': refstr.c:185:25: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] return (key->refcnt & HTML_BIT); ~~~~~~~~~~~~~^~~~~~~~~~~ rec.c: In function 'set_data': rec.c:25:24: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] obj->tag.mtflock = mtflock; ^~~~~~~ rec.c:29:24: warning: conversion from 'int' to 'unsigned char:1' may change 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) ~~~~~~~~~~~^ CC utils.lo ../../lib/cgraph/scan.l: In function 'addstr': ../../lib/cgraph/scan.l:71:31: warning: conversion to 'size_t' {aka '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:41: warning: conversion to 'size_t' {aka '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:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] else buf = (char*)malloc (len+1); ~~~^~ lex.aag.c: In function 'aaglex': lex.aag.c:1246:8: warning: switch missing default case [-Wswitch-default] lex.aag.c: In function 'input': lex.aag.c:1577:4: warning: switch missing default case [-Wswitch-default] ../../lib/cgraph/scan.l: At top level: ../../lib/cgraph/scan.l:230:6: warning: no previous prototype for 'aagerror' [-Wmissing-prototypes] void yyerror(char *str) ^~~~~~~~ ../../lib/cgraph/scan.l: In function 'aagerror': ../../lib/cgraph/scan.l:254:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int len = strlen(Sbuf); ^~~~~~ ../../lib/cgraph/scan.l:265:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int len = strlen(Sbuf); ^~~~~~ ../../lib/cgraph/scan.l:249:7: warning: switch missing default case [-Wswitch-default] else switch (YYSTATE) { ^~~~~~ CC write.lo At top level: lex.aag.c:1554:16: warning: 'input' defined but not used [-Wunused-function] 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); ^ 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) ~~~~~~~~~~~^ 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 'write_nodename': write.c:524:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'IDTYPE' {aka 'long long unsigned int'} [-Wformat=] sprintf(buf, "_%ld_SUSPECT", AGID(n)); /* could be deadly wrong */ ~~^ %lld write.c: In function 'set_attrwf': write.c:662:19: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(g) = value; ^~~~~ write.c:668:20: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(n) = value; ^~~~~ write.c:670:17: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(e) = value; ^~~~~ CCLD libcgraph.la CCLD libcgraph_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' Making all in pathplan make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' CC cvt.lo CC inpoly.lo CC route.lo CC shortest.lo CC shortestpth.lo CC solvers.lo shortest.c: In function 'Pshortestpath': shortest.c:141:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((p1.x == p2.x && p2.x == p3.x) && (p3.y > p2.y)) || ^~ shortest.c:141:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((p1.x == p2.x && p2.x == p3.x) && (p3.y > p2.y)) || ^~ shortest.c:145:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && polyp->ps[pi].x == polyp->ps[pi + 1].x ^~ shortest.c:146:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && polyp->ps[pi].y == polyp->ps[pi + 1].y) ^~ shortest.c:155:36: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (pi > 0 && polyp->ps[pi].x == polyp->ps[pi - 1].x && ^~ shortest.c:156:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] polyp->ps[pi].y == polyp->ps[pi - 1].y) ^~ shortest.c: 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 'growpnls': shortest.c:522:54: warning: conversion to '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTNLINKSIZE * newpnln))) { ^ shortest.c:537:23: warning: conversion to '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTSIZE * newopn))) { ^ solvers.c: In function 'solve2': solvers.c:90:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (disc == 0) { ^~ 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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vl = (COORD *) malloc((V + 1) * sizeof(COORD)); /* One extra for sentinel */ ^ CC triang.lo 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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] int *dad = (int *) malloc(sizeof(int) * (V + 2)); ^ cvt.c: In function 'Pobsopen': cvt.c:77:24: warning: conversion to '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->prev = mymalloc(n * sizeof(int)); ^ route.c: In function 'reallyroutespline': route.c:212:40: warning: conversion to '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(tnas = realloc(tnas, sizeof(tna_t) * inpn))) ^ cvt.c: In function 'Pobspath': cvt.c:143:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] j = opn - 1; ^~~ cvt.c:162:24: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *barriers = malloc(config->N * sizeof(Pedge_t)); ^ 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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTSIZE * newopn))) { ^ CC util.lo CC visibility.lo util.c: In function 'copypoly': util.c:31:37: warning: conversion to '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 '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 '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 '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); ^~~~~ triang.c: In function 'Ptriangulate': triang.c:71:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pointp = (Ppoint_t **) malloc(pointn * sizeof(Ppoint_t *)); ^ visibility.c: In function 'allocArray': visibility.c:41:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] arr = (COORD **) malloc((V + extra) * sizeof(COORD *)); ^ visibility.c:42:28: warning: conversion to 'size_t' {aka '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vadj = (COORD *) malloc((V + 2) * sizeof(COORD)); ^ CCLD libpathplan.la CCLD libpathplan_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' Making all in sfio make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' Making all in Sfio_f make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' mkdir -p ../../../FEATURE ../../../iffe - set cc i486-slitaz-linux-gcc : run ../../../lib/sfio/features/sfio > ../../../FEATURE/sfio CC _sfclrerr.lo CC _sfdlen.lo CC _sferror.lo CC _sfeof.lo CC _sffileno.lo CC _sfgetc.lo In file included from _sferror.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfllen.lo In file included from _sfeof.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfclrerr.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from ../../../lib/sfio/sfio_t.h:46, from ../../../lib/sfio/sfhdr.h:31, from _sfclrerr.c:14: _sfclrerr.c: In function 'sfclrerr': ../../../lib/sfio/sfio.h:424:50: warning: conversion from 'int' to 'short unsigned int' may change 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); ^~~~~~~~~~~ In file included from _sfdlen.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfgetc.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfputc.lo In file included from _sffileno.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfputd.lo CC _sfputl.lo CC _sfputm.lo CC _sfputu.lo In file included from _sfllen.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfslen.lo In file included from _sfputc.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfstacked.lo In file included from _sfputu.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfputd.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfputm.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfputl.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC _sfvalue.lo CC _sfulen.lo In file included from _sfslen.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfstacked.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfulen.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from _sfvalue.c:14: ../../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CCLD libsfiof_C.la make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' CC sfclose.lo CC sfclrlock.lo CC sfcvt.lo CC sfdlen.lo CC sfdisc.lo CC sfexcept.lo In file included from sfclose.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfclose.c:14: sfclose.c: In function 'sfclose': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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:548: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:548: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: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] f->mode &= ~SF_LOCK; ^~ In file included from sfclose.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfdisc.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfdisc.c:14: sfdisc.c: In function 'sfdisc': sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_NULL; /* turn off /dev/null handling */ ^ sfdisc.c:134:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] sfsetbuf(f, (void *) f->data, f->size); ~^~~~~~ sfdisc.c:135:15: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= (flags & SF_MALLOC); ^ In file included from sfdisc.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfdlen.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfcvt.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfclrlock.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfexcept.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfclrlock.c: In function 'sfclrlock': sfcvt.c: In function '_sfcvt': sfcvt.c:48:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ sfclrlock.c:33:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(SF_ERROR | SF_EOF); ^ In file included from sfclrlock.c:14: sfhdr.h:186:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] (((f)->bits &= ~SF_MVSIZE), ((f)->size /= SF_NMAP)) ) ^ sfhdr.h:187: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); ^~~~~~~~~ In file included from sfcvt.c:14: sfhdr.h:654:18: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] #define _Sfneg10 (_Sftable.sf_neg10) ^ sfcvt.c:60:15: note: in expansion of macro '_Sfneg10' dval *= _Sfneg10[v]; ^~~~~~~~ sfhdr.h:187:51: warning: conversion from 'int' to 'short unsigned int' may change 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); ^~~~~~~~~ In file included from sfexcept.c:14: sfexcept.c: In function '_sfexcept': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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 from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= io < 0 ? SF_ERROR : SF_EOF; ^~ In file included from sfexcept.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 'unsigned int'} from 'ssize_t' {aka '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] data = (uchar *) malloc(size); ^~~~ sfexcept.c:94:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ In file included from sfexcept.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ sfcvt.c:122:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] *--sp += 5; ^ sfcvt.c:126:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] *--sp += 1; ^ CC sfexit.lo sfdlen.c: In function '_sfdlen': sfdlen.c:34:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != 0.) ^~ sfdlen.c:35:12: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] v = frexp(v, &exp); ^ sfdlen.c:39:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (w = 1; w <= N_ARRAY; ++w) { /* get 2^SF_PRECIS precision at a time */ ^~ sfdlen.c:40:23: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] n = (int) (x = ldexp(v, SF_PRECIS)); ^ CC sfextern.lo CC sffcvt.lo CC sffilbuf.lo CC sfflsbuf.lo CC sfgetd.lo In file included from sfexit.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfextern.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfextern.c:35:5: warning: missing initializer for field 'array' of 'struct _sfpool_s' [-Wmissing-field-initializers] {NIL(Sfpool_t *), 0, 0, 0, NIL(Sfio_t **)}, /* _Sfpool */ ^ In file included from sfextern.c:14: sfhdr.h:334:10: note: 'array' declared here Sfio_t *array[3]; /* start with 3 */ ^~~~~ CC sfgetl.lo CC sfgetm.lo In file included from sffcvt.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfflsbuf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sffcvt.c:22:7: warning: no previous prototype for 'sffcvt' [-Wmissing-prototypes] char *sffcvt(double dval, int n_digit, int *decpt, int *sign) ^~~~~~ In file included from sfflsbuf.c:14: sfflsbuf.c: In function '_sfflsbuf': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfflsbuf.c:14: sfhdr.h:548: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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 from 'int' to 'unsigned char' may change value [-Wconversion] *f->next++ = c; ^ In file included from sfflsbuf.c:14: sfhdr.h:530:61: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-17' to '4294967279' [-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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((w = SFWR(f, data, n, f->disc)) > 0) { ^ sfhdr.h:535: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 'unsigned int'} from 'ssize_t' {aka '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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sffilbuf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sffilbuf.c:14: sffilbuf.c: In function '_sffilbuf': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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 from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sffilbuf.c:46:42: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] for (first = 1;; first = 0, (f->mode &= ~SF_LOCK)) { /* check mode */ ^~ In file included from sffilbuf.c:14: sfhdr.h:548: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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(f->data, f->next, r); ^ sffilbuf.c:75:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sffilbuf.c:75:48: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sffilbuf.c:76:11: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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 from 'int' to 'unsigned char' may change value [-Wconversion] f->getr = rc; ^~ In file included from sffilbuf.c:14: sffilbuf.c:83:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((r = SFRD(f, f->endb, r, f->disc)) >= 0) { ^ sfhdr.h:534:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfgetr.lo In file included from sfgetd.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC sfgetu.lo CC sfllen.lo sfgetd.c: In function 'sfgetd': sfgetd.c:50:16: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] v = ldexp(v, -SF_PRECIS); ^ sfgetd.c:60:15: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] v = ldexp(v, (sign & 02) ? -exp : exp); ^ In file included from sfgetd.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfgetd.c:64:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ In file included from sfgetl.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfgetl.c: In function 'sfgetl': 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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfgetm.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfgetm.c:14: sfgetm.c: In function 'sfgetm': sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfmode.lo CC sfmove.lo CC sfmutex.lo In file included from sfgetr.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfgetr.c: In function 'sfgetr': sfgetr.c:60:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] f->getr = rc; ^~ sfgetr.c:75:45: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if (!(s = (uchar *) memchr((char *) s, rc, n))) ^ In file included from sfgetr.c:14: sfgetr.c:110:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] MEMCPY(s, ends, n); ^ sfhdr.h:739:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfgetr.c:119:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] f->getr = rc; ^~ In file included from sfgetr.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfgetr.c:128:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:740:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:741:4: note: here case 6 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:741:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:742:4: note: here case 5 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:742:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:743:4: note: here case 4 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:743:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:744:4: note: here case 3 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:744:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:745:4: note: here case 2 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:745:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:746:4: note: here case 1 : *to++ = *fr++; \ ^~~~ sfgetr.c:110:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ In file included from sfgetu.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfllen.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfgetu.c:14: sfgetu.c: In function 'sfgetu': sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ 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; ^ CC sfnew.lo CC sfnotify.lo CC sfnputc.lo In file included from sfmode.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfmutex.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfmutex.c: In function 'sfmutex': sfmutex.c:22:22: warning: unused parameter 'f' [-Wunused-parameter] int sfmutex(Sfio_t * f, int type) ~~~~~~~~~^ sfmutex.c:22:29: warning: unused parameter 'type' [-Wunused-parameter] int sfmutex(Sfio_t * f, int type) ~~~~^~~~ sfmode.c: In function '_sfcleanup': sfmode.c:72:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 '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 '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 'unsigned int' from 'ssize_t' {aka '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 'unsigned int' from 'ssize_t' {aka '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:266:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((p->rdata = (uchar *) malloc(p->ndata))) ~^~~~~~~ sfmode.c:274:51: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy((void *) p->rdata, (void *) f->next, p->ndata); ~^~~~~~~ In file included from sfmove.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfmode.c:280:51: warning: conversion to 'size_t' {aka '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 from 'int' to 'short int' may change value [-Wconversion] f->file = p->file; ^ sfmode.c: In function '_sfmode': sfmode.c:332:10: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1025' to '4294966271' [-Wsign-conversion] f->mode &= ~SF_GETR; ^~ sfmode.c:353:10: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfmode.c:373:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-5' to '4294967291' [-Wsign-conversion] f->mode &= ~SF_INIT; ^~ In file included from sfmode.c:14: sfmode.c:385:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (void) SFSETBUF(f, f->data, f->size); ~^~~~~~ sfhdr.h:540:51: note: in definition of macro 'SFSETBUF' #define SFSETBUF(f,s,n) (SETLOCAL(f),sfsetbuf(f,s,n)) ^ sfmode.c:386:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= (n & SF_MALLOC); ^ In file included from sfmode.c:14: sfhdr.h:548:32: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfmode.c:390:25: note: in expansion of macro 'SFMODE' if (wanted == (int) SFMODE(f, 1)) ^~~~~~ sfhdr.h:548:32: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfmode.c:393:13: note: in expansion of macro 'SFMODE' switch (SFMODE(f, 1)) { ^~~~~~ sfmove.c: In function 'sfmove': sfmove.c:99:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if (rsize <= 0 && (rbuf = (uchar *) malloc(w))) ^ sfmove.c:118:14: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] fr->size, rc, -1, (int) (-n)); ~~^~~~~~ sfmove.c:125:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] one_r:fr->getr = rc; ^~ In file included from sfmove.c:14: sfmove.c:141:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((r = SFRD(fr, next, w, fr->disc)) > 0) ^ sfhdr.h:534: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 from 'int' to 'unsigned char' may change value [-Wconversion] endb[-1] = rc; ^~ sfmove.c:180:14: warning: conversion from 'ssize_t' {aka 'int'} to 'unsigned char' may change value [-Wconversion] endb[-1] = w; ^ sfmove.c:183:12: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-513' to '4294966783' [-Wsign-conversion] fr->mode &= ~SF_PKRD; ^~ sfmove.c:184:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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 'unsigned int'} from 'ssize_t' {aka '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy((void *) fw->next, (void *) next, r); ^ In file included from sfmove.c:14: sfmove.c:210:49: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfmode.c:486:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (wanted != (f->mode & SF_RDWR) && f->file >= 0) ^~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfmode.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfmode.c:497:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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: sfhdr.h:186:20: warning: conversion from 'int' to 'short unsigned int' may change 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 from 'int' to 'short unsigned int' may change value [-Wconversion] fr->bits &= ~SF_SEQUENTIAL; ^ In file included from sfmove.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fr->file, (void *) next, r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC sfopen.lo In file included from sfnotify.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfnew.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfnew.c: In function 'sfnew': sfnew.c:92:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags = (flags & SF_FLAGS) | (sflags & (SF_MALLOC | SF_STATIC)); ^ sfnew.c:94:15: warning: conversion from 'int' to 'short int' may change value [-Wconversion] f->file = file; ^~~~ sfnew.c:100:12: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] f->size = size; ^~~~ CC sfpkrd.lo In file included from sfnputc.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfnputc.c:14: sfnputc.c: In function 'sfnputc': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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:548: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 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] p = n; ^ In file included from sfnputc.c:14: sfnputc.c:48:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] MEMSET(ps, c, p); ^ sfhdr.h:750:37: note: in definition of macro 'MEMSET' { default : memset((void*)s,(int)c,n); s += n; break; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:751:21: note: in definition of macro 'MEMSET' case 7 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:752:21: note: in definition of macro 'MEMSET' case 6 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:753:21: note: in definition of macro 'MEMSET' case 5 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:754:21: note: in definition of macro 'MEMSET' case 4 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:755:21: note: in definition of macro 'MEMSET' case 3 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:756:21: note: in definition of macro 'MEMSET' case 2 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:757:21: note: in definition of macro 'MEMSET' case 1 : *s++ = c; \ ^ sfnputc.c:51:9: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] w = n; ^ In file included from sfnputc.c:14: sfnputc.c:60:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((p = SFWRITE(f, (void *) ps, p)) <= 0 || (n -= p) <= 0) { ^ sfhdr.h:541: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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] w -= n; ^~ sfnputc.c:61:11: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] w -= n; ^ sfnputc.c:65:10: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] p = n; ^ In file included from sfnputc.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:751: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:752:4: note: here case 6 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:752: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:753:4: note: here case 5 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:753: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:754:4: note: here case 4 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:754: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:755:4: note: here case 3 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:755: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:756:4: note: here case 2 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:756: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:757:4: note: here case 1 : *s++ = c; \ ^~~~ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ CC sfpoll.lo In file included from sfopen.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfopen.c: In function 'sfopen': sfopen.c:52:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= (sflags & (SF_FLAGS & ~SF_RDWR)); ^ sfopen.c:56:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags = (f->flags & ~SF_RDWR) | sflags; ^ sfopen.c:61:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_BOTH; ^ sfopen.c:64:26: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-3' to '4294967293' [-Wsign-conversion] f->mode = (f->mode & ~SF_WRITE) | SF_READ; ^ sfopen.c:66:26: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2' to '4294967294' [-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 ^ CC sfpool.lo CC sfpopen.lo CC sfprintf.lo CC sfprints.lo In file included from sfpkrd.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfpkrd.c: In function 'sfpkrd': sfpkrd.c:50:6: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if !_stream_peek ^~~~~~~~~~~~ sfpkrd.c:53:6: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if !_socket_peek ^~~~~~~~~~~~ sfpkrd.c:59:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfpkrd.c:99:5: warning: "_lib_poll" is not defined, evaluates to 0 [-Wundef] #if _lib_poll ^~~~~~~~~ sfpkrd.c:145:6: warning: "_lib_poll" is not defined, evaluates to 0 [-Wundef] #if !_lib_poll && !defined(HAVE_SELECT) /* both poll and select cann't be used */ ^~~~~~~~~ sfpkrd.c:182:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfpkrd.c:214:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] action = n; ^ sfpkrd.c:216:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] while ((t = read(fd, buf, action)) > 0) { ^~~~~~ sfpkrd.c:221:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if (action == 0 || (int) (n - r) < action) ^ sfpkrd.c:242:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] r = read(fd, buf, r); ^ CC sfpurge.lo In file included from sfpoll.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfpoll.c: In function 'sfpoll': sfpoll.c:38:41: warning: conversion to '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 ^~~~~~~~~ In file included from sfpool.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfpool.c:14: sfpool.c: In function '_sfphead': sfhdr.h:548:32: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((w = SFWR(head, head->data, k, head->disc)) == k) ^ sfhdr.h:535: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 'unsigned int'} from 'ssize_t' {aka '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(f->data, (head->data + k), v); ^ sfpool.c:135:13: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfpool.c:144:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] head->mode &= ~SF_LOCK; /* partially unlock because it's no longer head */ ^~ sfpool.c: In function '_sfpdelete': sfpool.c:164:13: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfpool.c:184:13: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ In file included from sfpool.c:14: sfpool.c: In function 'sfpool': sfhdr.h:548:32: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:548:32: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfpopen.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ 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 '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 from 'int' to 'short int' may change value [-Wconversion] sf.file = parent[pkeep]; ^~~~~~ sfpopen.c:221:16: warning: conversion from 'int' to 'short int' may change value [-Wconversion] sf.file = child[ckeep]; ^~~~~ In file included from sfprintf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfprints.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC sfputd.lo CC sfputl.lo CC sfputm.lo 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) ~~~~~~~~~^ In file included from sfpurge.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfpurge.c: In function 'sfpurge': sfpurge.c:44:21: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] switch (f->mode & ~SF_LOCK) { ^ In file included from sfpurge.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfpurge.c:46:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfpurge.c:65:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ CC sfputr.lo CC sfputu.lo CC sfraise.lo In file included from sfputm.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfputm.c:14: sfputm.c: In function '_sfputm': sfputm.c:49:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:541: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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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: ^~~~ In file included from sfputl.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfputl.c: In function '_sfputl': sfputl.c:43:9: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = (Sfulong_t) v >> SF_SBITS; ^ sfputl.c:47:6: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = (Sfulong_t) v >> SF_UBITS; ^ In file included from sfputl.c:14: sfputl.c:52:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:541: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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ 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: ^~~~ In file included from sfputd.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC sfrd.lo sfputd.c: In function '_sfputd': sfputd.c:47:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != 0.) ^~ sfputd.c:48:12: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] v = frexp(v, &exp); ^ In file included from sfputd.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfputd.c:59:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfputd.c:67:23: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] n = (int) (x = ldexp(v, SF_PRECIS)); ^ sfputd.c:68:9: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *--s = n | SF_MORE; ^ sfputd.c:76:14: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *ends &= ~SF_MORE; ^ In file included from sfputd.c:14: sfputd.c:80:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] w = SFWRITE(f, (void *) s, n) == n ? w + n : -1; ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfputd.c:82:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ CC sfread.lo In file included from sfputu.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfputu.c:14: sfputu.c: In function '_sfputu': sfputu.c:48:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:541: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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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: ^~~~ In file included from sfputr.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfraise.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfputr.c: In function 'sfputr': sfputr.c:41:10: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen(s); ^~~~~~ sfputr.c:44:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(ps, s, n); ^ sfputr.c:49:15: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *ps++ = rc; ^~ sfputr.c:61:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(rsrv->data, s, n); ^ sfputr.c:63:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] rsrv->data[n] = rc; ^~ In file included from sfputr.c:14: sfputr.c:64:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((n = SFWRITE(f, rsrv->data, p)) < 0) ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfputr.c:74:14: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *ps++ = rc; ^~ sfputr.c:79:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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: sfputr.c:98:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (void) SFWRITE(f, (void *) f->next, n); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfputr.c:101:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ In file included from sfraise.c:14: sfraise.c: In function 'sfraise': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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:548: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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfreserve.lo CC sfresize.lo CC sfscanf.lo CC sfseek.lo In file included from sfrd.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfrd.c:14: sfrd.c: In function 'sfrd': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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: unsigned conversion from 'int' to 'unsigned int' changes value from '-25' to '4294967271' [-Wsign-conversion] f->mode &= ~(SF_RC | SF_RV); ^~ sfrd.c:61:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sfrd.c:80:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ sfrd.c:97:38: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((rv = _sfexcept(f, SF_READ, n, dc)) > 0) ^ sfrd.c:98:7: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] n = rv; ^~ sfrd.c:126:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= rcrv; ^~ sfrd.c:129:15: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~SF_SHARE; ^ In file included from sfrd.c:14: sfhdr.h:575:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] if(!dcdown) f->bits &= ~SF_DCDOWN; \ ^ sfrd.c:131:6: note: in expansion of macro 'SFDCRD' SFDCRD(f, buf, n, dc, r); ^~~~~~ sfrd.c:135:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode &= ~rcrv; ^~ sfrd.c:137:15: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= share; ^~~~~ In file included from sfread.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfrd.c:178:10: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] n = local ? 0 : (ssize_t) r; ^~~~~ In file included from sfrd.c:14: sfhdr.h:97:34: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfrd.c:179:6: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, n); ^~~~~~~~~~~ sfrd.c:174:2: warning: switch missing default case [-Wswitch-default] switch (_sfexcept(f, SF_READ, (ssize_t) r, dc)) { ^~~~~~ In file included from sfread.c:14: sfread.c: In function 'sfread': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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 from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sfread.c:51:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-257' to '4294967039' [-Wsign-conversion] f->mode &= ~SF_PEEK; ^~ sfread.c:56:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-257' to '4294967039' [-Wsign-conversion] f->mode &= ~SF_PEEK; ^~ sfread.c:58:11: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-513' to '4294966783' [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ sfread.c:60:11: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] n = (r = read(f->file, f->data, n)) < 0 ? 0 : r; ^ In file included from sfread.c:14: sfhdr.h:97:34: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfread.c:14: sfhdr.h:548: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:21: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] n = s > begs ? s - begs : (size_t) (-1); ^~~~~~~~ sfread.c:73:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] n = s > begs ? s - begs : (size_t) (-1); ^ sfread.c:83:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(s, f->next, r); ^ sfread.c:86:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= r; ^~ sfread.c:98:51: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sfread.c:99:7: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] r = f->iosz; /* limit buffering */ ^ In file included from sfread.c:14: sfread.c:108:46: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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:534: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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= r; ^~ In file included from sfread.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfreserve.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfreserve.c: In function 'sfreserve': sfreserve.c:96:15: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-513' to '4294966783' [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ 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 accommodate request size */ ^ In file included from sfreserve.c:14: sfreserve.c:117:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (void) SFWR(f, f->next, sz, f->disc); ^~ sfhdr.h:535: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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (n = SFREAD(f, (void *) rsrv->data, sz)) < sz) ^~ sfhdr.h:542:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfscanf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfscanf.c: In function 'sfvsscanf': sfscanf.c:43:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] f.size = strlen((char *) s); ^ sfscanf.c:43:14: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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; ^ In file included from sfresize.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfresize.c: In function 'sfresize': sfresize.c:37:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] if (s < f->size && (d = realloc(f->data, s))) { ^ sfresize.c:39:17: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] f->size = s; ^ In file included from sfresize.c:14: sfresize.c:43:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memclear((char *) (f->data + size), (int) (f->extent - size)); sfhdr.h:734:40: note: in definition of macro 'memclear' #define memclear(s,n) memset((s),'\0',(n)) ^ sfresize.c:48:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (int) (size - f->extent)); sfhdr.h:734:40: note: in definition of macro 'memclear' #define memclear(s,n) memset((s),'\0',(n)) ^ sfresize.c:54:25: warning: conversion from 'long long int' to '__off_t' {aka 'long int'} may change value [-Wconversion] if (ftruncate(f->file, size) < 0) ^~~~ In file included from sfresize.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfset.lo CC sfsetbuf.lo In file included from sfseek.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfseek.c:14: sfseek.c: In function 'sfseek': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^~ sfseek.c:44:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:548: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:54:15: note: in expansion of macro 'SFMODE' if ((int) SFMODE(f, local) != (mode = f->mode & SF_RDWR)) { ^~~~~~ sfseek.c:61:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags = flags; ^~~~~ sfseek.c:90:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ In file included from sfseek.c:14: sfhdr.h:602:32: warning: declaration of 's' shadows a previous local [-Wshadow] #define SFSTRSIZE(f) { Sfoff_t s = (f)->next - (f)->data; \ ^ sfseek.c:93:2: note: in expansion of macro 'SFSTRSIZE' SFSTRSIZE(f); ^~~~~~~~~ sfseek.c:38:16: note: shadowed declaration is here Sfoff_t r, s; ^ In file included from sfseek.c:14: sfseek.c:108:5: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (int) (p - f->extent)); sfhdr.h:734:40: note: in definition of macro 'memclear' #define memclear(s,n) memset((s),'\0',(n)) ^ sfseek.c:180:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] b = f->endb - f->data; /* amount of buffered data */ ^ sfseek.c:181:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] c = f->next - f->data; /* amount of data consumed */ ^ sfseek.c:198:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'ssize_t' {aka 'int'} [-Wsign-compare] if (f->iosz >= f->size) ^~ In file included from sfseek.c:14: sfseek.c:226:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (void) SFRD(f, f->data, f->size, f->disc); ~^~~~~~ sfhdr.h:534:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfseek.c:244:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ CC sfsetfd.lo CC sfsize.lo CC sfsk.lo In file included from sfsetbuf.c:20: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfsetbuf.c:20: sfsetbuf.c: In function 'sfsetbuf': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^~ sfsetbuf.c:70:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:548: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:87:39: note: in expansion of macro 'SFMODE' } else if ((f->mode & SF_RDWR) != SFMODE(f, local) ^~~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfsetbuf.c:104:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfsetbuf.c:109:10: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-2049' to '4294965247' [-Wsign-conversion] f->mode &= ~SF_SYNCED; ^~ sfsetbuf.c:124:17: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~SF_MALLOC; ^ sfsetbuf.c:125:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_MMAP; ^ sfsetbuf.c:211:21: warning: conversion to 'ssize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion] if ((_Sfpage = (size_t) getpagesize()) <= 0) ^ sfsetbuf.c:221:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] size = osize; ^~~~~ In file included from sfsetbuf.c:20: sfhdr.h:446:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] #define _Sfpage (_Sfextern.sf_page) ^ sfsetbuf.c:231:29: note: in expansion of macro '_Sfpage' else if ((ssize_t) (size = _Sfpage) < blksize) ^~~~~~~ sfsetbuf.c:232:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] size = blksize; ^~~~~~~ sfsetbuf.c:262:15: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] f->size = size; ^~~~ sfsetbuf.c:276:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags = (f->flags & ~SF_MALLOC) | sf_malloc; ^ In file included from sfsetbuf.c:20: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfsetbuf.c:285:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ In file included from sfset.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfset.c: In function 'sfset': sfset.c:46:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= (flags & SF_SETS); ^ sfset.c:48:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(flags & SF_SETS); ^ sfset.c:52:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags |= (oflags & SF_RDWR); ^ sfset.c:55:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~SF_APPENDWR; ^ sfset.c:72:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~SF_PUBLIC; ^ In file included from sfset.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfstack.lo In file included from sfsize.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfsize.c:14: sfsize.c: In function 'sfsize': sfhdr.h:602: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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfsize.c:87:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ In file included from sfsk.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfsetfd.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfsk.c:14: sfsk.c: In function 'sfsk': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^~ sfsk.c:29:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:602:32: warning: declaration of 's' shadows a previous local [-Wshadow] #define SFSTRSIZE(f) { Sfoff_t s = (f)->next - (f)->data; \ ^ sfsk.c:45: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: sfhdr.h:585:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] if(!dcdown) f->bits &= ~SF_DCDOWN; \ ^ sfsk.c:55:3: note: in expansion of macro 'SFDCSK' SFDCSK(f, addr, type, dc, p); ^~~~~~ In file included from sfsetfd.c:14: sfsetfd.c: In function 'sfsetfd': sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:89:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_NULL; /* off /dev/null handling */ ^ In file included from sfsetfd.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfsetfd.c:93:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfsetfd.c:100:15: warning: conversion from 'int' to 'short int' may change value [-Wconversion] f->file = newfd; ^~~~~ CC sfstrtod.lo CC sfswap.lo CC sfsync.lo CC sftable.lo CC sftell.lo In file included from sfstack.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfstack.c: In function 'sfstack': sfstack.c:58:11: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] f2->mode &= ~SF_PUSH; ^~ sfstack.c:94:11: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] f1->mode &= ~SF_PUSH; ^~ In file included from sfstack.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sfswap.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfswap.c: In function 'sfswap': sfswap.c:37:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] f1mode = f1->mode; ^~ sfswap.c:42:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] f2mode = f2->mode; ^~ sfswap.c:51:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f1->mode = f1mode; ^~~~~~ In file included from sfswap.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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 from 'int' to 'short unsigned int' may change value [-Wconversion] f2->flags &= ~SF_STATIC; ^ sfswap.c:95:15: warning: conversion from 'int' to 'short unsigned int' may change 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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sftable.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sftable.c: In function 'sffmtint': sftable.c:26:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (char *) str; ^ sftable.c: In function 'sffmtpos': sftable.c:51:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] sp = (char *) form++; ^ sftable.c:88:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] t_str = (char *) form; ^ sftable.c:113:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:90:3: warning: switch missing default case [-Wswitch-default] switch (*form++) { ^~~~~~ sftable.c:169:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:213:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:86:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sftable.c:251:48: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^~ sftable.c:251:46: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sftable.c:245:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sftable.c:255:24: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] sizeof(double) : -1; ^~ sftable.c:255:22: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] sizeof(double) : -1; ^ sftable.c:253:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] || !(fp = (Fmtpos_t *) malloc((maxp + 1) * sizeof(Fmtpos_t)))) ^ In file included from sfstrtod.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sftable.c:339:19: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] fp[n].ft.size = strlen(fp[n].argv.s); ^~~~~~ sftable.c: In function 'sfcvinit': sftable.c:397:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:398:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:403:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:404:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:409:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = l; ^ sftable.c:410:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:415:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:416:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ CC sftmp.lo sftable.c: At top level: sftable.c:467:1: warning: missing initializer for field 'sf_cv36' of 'Sftab_t' {aka 'struct _sftab_'} [-Wmissing-field-initializers] }; ^ In file included from sftable.c:14: sfhdr.h:673:8: note: 'sf_cv36' declared here uchar sf_cv36[SF_MAXCHAR + 1]; /* conversion for base [2-36] */ ^~~~~~~ sfstrtod.c: In function 'sfpow10': sfstrtod.c:31:5: warning: switch missing default case [-Wswitch-default] switch (n) { ^~~~~~ sftable.c: In function 'sffmtpos': sftable.c:155:8: warning: this statement may fall through [-Wimplicit-fallthrough=] form += 1; /* drop through below */ ~~~~~^~~~ sftable.c:157:2: note: here case '*': ^~~~ sfstrtod.c: In function '_sfstrtod': sfstrtod.c:94:12: warning: conversion to '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 'unsigned int' may change the sign of the result [-Wsign-conversion] #define BATCH (2*sizeof(int)) /* accumulate this many digits at a time */ ^ sfstrtod.c:94:6: note: in expansion of macro 'BATCH' m = BATCH - m; ^~~~~ sfstrtod.c:97:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ sfstrtod.c:114:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (m < BATCH) { /* detected a non-digit */ ^ sfstrtod.c:133:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *retp = (char *) s; ^ sfstrtod.c:70:24: warning: variable 'thousand' set but not used [-Wunused-but-set-variable] char decpoint = 0, thousand; ^~~~~~~~ CC sfungetc.lo In file included from sfsync.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfsync.c:14: sfsync.c: In function 'sfsync': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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:548: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: unsigned conversion from 'int' to 'unsigned int' changes value from '-65' to '4294967231' [-Wsign-conversion] f->mode &= ~SF_PUSH; ^~ sfsync.c:112:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-129' to '4294967167' [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfsync.c:118:14: warning: conversion from 'int' to 'short unsigned int' may change 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: unsigned conversion from 'int' to 'unsigned int' changes value from '-2049' to '4294965247' [-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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ In file included from sftell.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ CC sfvprintf.lo In file included from sfungetc.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfungetc.c:14: sfungetc.c: In function 'sfungetc': sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (!(data = (uchar *) malloc(f->size + 16))) { ~~~~~~~~^~~~ sfungetc.c:81:54: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CC sfvscanf.lo CC sfwr.lo CC sfwrite.lo In file included from sftmp.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sftmp.c:25:5: warning: "_tmp_rmfail" is not defined, evaluates to 0 [-Wundef] #if _tmp_rmfail ^~~~~~~~~~~ sftmp.c: In function '_rmtmp': sftmp.c:102:5: warning: "_tmp_rmfail" is not defined, evaluates to 0 [-Wundef] #if _tmp_rmfail /* remove only when stream is closed */ ^~~~~~~~~~~ sftmp.c:100:28: warning: unused parameter 'f' [-Wunused-parameter] static int _rmtmp(Sfio_t * f, char *file) ~~~~~~~~~^ sftmp.c: In function '_sfgetpath': sftmp.c:146:53: warning: conversion to '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:202:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] A = (ulong) time(NIL(time_t *)) ^ (((ulong) (&t)) >> 3); ^ sftmp.c:207:5: warning: conversion to 'uint64_t' {aka 'long 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:49: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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 ^~~~~~~~~~~ In file included from sfvprintf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfvprintf.c: In function 'sfvprintf': sfvprintf.c:112:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] oform = (char *) form; ^ sfvprintf.c:120:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] sp = (char *) form++; ^ In file included from sfvprintf.c:14: sfvprintf.c:124:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:739:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:740:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:742:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:743:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:746:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:124:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:147:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] t_str = (char *) form; ^ In file included from sfvprintf.c:14: sfhdr.h:415:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:177:8: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, ^~~~~~ sfvprintf.c:187:13: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvprintf.c:191:14: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvprintf.c:149:3: warning: switch missing default case [-Wswitch-default] switch (*form++) { ^~~~~~ In file included from sfvprintf.c:14: sfhdr.h:315:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^~ sfvprintf.c:216: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: sfhdr.h:415:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:261:3: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, '.', dot, 0, 0, 0, 0, NIL(char *), ^~~~~~ sfhdr.h:415:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:323:7: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, 'I', sizeof(int), 0, 0, 0, 0, ^~~~~~ sfvprintf.c:138:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sfvprintf.c:382:48: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^~ sfvprintf.c:382:46: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sfvprintf.c:376:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sfvprintf.c:386:24: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] sizeof(double) : -1; ^~ sfvprintf.c:386:22: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] sizeof(double) : -1; ^ sfvprintf.c:384:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-Wsign-conversion] size = (flags & SFFMT_LDOUBLE) ? sizeof(Sfdouble_t) : ^ In file included from sfvprintf.c:14: sfhdr.h:415:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:397:6: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, fmt, size, flags, width, precis, base, ^~~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfvprintf.c:400:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfvprintf.c:459:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (*ft->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfvprintf.c:467:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fm->form = (char *) form; ^ sfvprintf.c:505:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] v = strlen(sp); ^~~~~~ In file included from sfvprintf.c:14: sfvprintf.c:513:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:513:4: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvprintf.c:515:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:515:4: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:518:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, v); ^ sfhdr.h:739:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:740:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:741:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:742:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:743:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:744:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:745:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:746:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvprintf.c:518:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, v); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvprintf.c:520:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:520:7: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:537:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] buf[0] = fmt; ^~~ In file included from sfvprintf.c:14: sfvprintf.c:544:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n)}; ^ sfvprintf.c:76:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:544:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ sfvprintf.c:546:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, fmt, v); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:546:3: note: in expansion of macro 'SFnputc' SFnputc(f, fmt, v); ^~~~~~~ sfvprintf.c:548:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n)}; ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:548:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ In file included from sfvscanf.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfvprintf.c:579:5: warning: "_more_void_int" is not defined, evaluates to 0 [-Wundef] #if _more_void_int ^~~~~~~~~~~~~~ sfvprintf.c:620:5: warning: "_more_long_int" is not defined, evaluates to 0 [-Wundef] #if _more_long_int || _more_void_int ^~~~~~~~~~~~~~ sfvprintf.c:620:23: warning: "_more_void_int" is not defined, evaluates to 0 [-Wundef] #if _more_long_int || _more_void_int ^~~~~~~~~~~~~~ sfvprintf.c:689:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (v == HIGHBITI) { /* avoid overflow */ ^~ sfvprintf.c:690:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = (int) (HIGHBITI / base); ^ sfvprintf.c:691:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *--sp = _Sfdigits[HIGHBITI - ((uint) v) * base]; ^ sfvscanf.c: In function 'setclass': sfvscanf.c:41:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] accept[fmt] = yes; ^~~ sfvscanf.c:51:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] accept[fmt] = yes; ^~~ sfvscanf.c:54:15: warning: conversion from 'int' to 'char' may change 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; ^ sfvprintf.c:700:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) >> n)); ^ sfvprintf.c:703:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *--sp = ssp[((uint) v) % base]; ^ sfvprintf.c:704:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) / base)); ^ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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) ^~~~~~ sfvprintf.c:704:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) / base)); ^ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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 sfvprintf.c:14: sfhdr.h:655:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] #define _Sfdec (_Sftable.sf_dec) ^ sfvprintf.c:755:16: note: in expansion of macro '_Sfdec' *--sp = _Sfdec[(base <<= 1) + 1]; ^~~~~~ sfhdr.h:655:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] #define _Sfdec (_Sftable.sf_dec) ^ sfvprintf.c:756:16: note: in expansion of macro '_Sfdec' *--sp = _Sfdec[base]; ^~~~~~ In file included from sfvscanf.c:14: sfhdr.h:415: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 'int'} from 'size_t' {aka '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 'int'} from 'size_t' {aka '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++) { ^~~~~~ sfvprintf.c:796:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ In file included from sfvscanf.c:14: sfhdr.h:415: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, ^~~~~~ In file included from sfvprintf.c:14: sfhdr.h:315:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^~ sfvprintf.c:824:6: note: in expansion of macro 'SFSETLOCALE' SFSETLOCALE(decimal, thousand); ^~~~~~~~~~~ sfvprintf.c:37:14: note: shadowed declaration is here Sflong_t lv; ^~ sfvprintf.c:834:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval != 0.) { ^~ sfvprintf.c:849:33: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] *--ep = (decpt > 0 || dval == 0.) ? '+' : '-'; ^~ sfhdr.h:415: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, ^~~~~~ In file included from sfvprintf.c:14: sfhdr.h:315:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^~ sfvprintf.c:863:6: note: in expansion of macro 'SFSETLOCALE' SFSETLOCALE(decimal, thousand); ^~~~~~~~~~~ sfvprintf.c:37:14: note: shadowed declaration is here Sflong_t lv; ^~ sfvscanf.c:186:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sfvscanf.c:383:48: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^~ sfvscanf.c:383:46: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sfvscanf.c:377:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sfvscanf.c:387:24: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] sizeof(double) : -1; ^~ sfvscanf.c:387:22: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-1' to '4294967295' [-Wsign-conversion] sizeof(double) : -1; ^ sfvprintf.c:919:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] *--sp = fmt; ^~~ sfvscanf.c:385:10: warning: signed conversion from 'unsigned int' to 'ssize_t' {aka 'int'} changes the value of '4294967295' [-Wsign-conversion] size = (flags & SFFMT_LDOUBLE) ? sizeof(Sfdouble_t) : ^ In file included from sfvscanf.c:14: sfhdr.h:415: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, ^~~~~~ In file included from sfvprintf.c:14: sfvprintf.c:932:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, v, n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:932:6: note: in expansion of macro 'SFnputc' SFnputc(f, v, n); ^~~~~~~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ sfvprintf.c:936:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:936:6: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvprintf.c:942:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:739:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:437:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (*ft->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfhdr.h:740:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:445:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fm->form = (char *) form; ^ sfhdr.h:742:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:743:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:746:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:492:6: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvprintf.c:942:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:495:3: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvprintf.c:946:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:946:3: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvscanf.c:505: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:508:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (width >= SF_MAXDIGITS) ^~ sfvprintf.c:950:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:739:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:513:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *val++ = inp; ^~~ sfhdr.h:740:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:521:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *val++ = inp; ^~~ sfhdr.h:742:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:522:27: note: in expansion of macro 'SFGETC' if (--width <= 0 || SFGETC(f, inp) < 0 || ^~~~~~ sfhdr.h:743:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:525:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *val++ = inp; ^~~ sfvscanf.c:529:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *val++ = inp; ^~~ sfhdr.h:746:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:533:30: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvprintf.c:950:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:954:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:544:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:954:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:967: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:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:558:25: note: in expansion of macro 'SFGETC' while (--width > 0 && SFGETC(f, inp) >= 0) ^~~~~~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:572:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0) { ^~~~~~ In file included from sfvprintf.c:14: sfvprintf.c:1004:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (void) SFWRITE(f, (void *) d, n); ^ sfhdr.h:541:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfvprintf.c:1008:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:591:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0 && ^~~~~~ sfvprintf.c:37:14: warning: unused variable 'lv' [-Wunused-variable] Sflong_t lv; ^~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:593:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvscanf.c:605: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'); ^ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= '0' ^~~~~~ sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:616:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base) ^~~~~~ In file included from sfvprintf.c:14: sfhdr.h:740:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:4: note: here case 6 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:742:4: note: here case 5 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:742:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:743:4: note: here case 4 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:743:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:4: note: here case 3 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:636: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]; ^ sfhdr.h:744:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:4: note: here case 2 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:638:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ sfhdr.h:746:4: note: here case 1 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:124:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvscanf.c:641: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:641: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]; ^ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:643:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ sfvscanf.c:654:5: warning: "_more_void_int" is not defined, evaluates to 0 [-Wundef] #if _more_void_int ^~~~~~~~~~~~~~ sfvprintf.c:247:11: warning: this statement may fall through [-Wimplicit-fallthrough=] form += 1; /* fall through for '*' */ ~~~~~^~~~ sfvprintf.c:248:2: note: here case '*': ^~~~ sfvscanf.c:699:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *argv.s++ = inp; ^~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:700:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:704:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *argv.s++ = inp; ^~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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:705:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:707:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] form = setclass((char *) form, accept); ^ In file included from sfvprintf.c:14: sfhdr.h:740:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvscanf.c:718:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] *argv.s++ = inp; ^~~ sfhdr.h:741:4: note: here case 6 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:741:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542: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); ^~~~~~ sfhdr.h:742:4: note: here case 5 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:742:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:743:4: note: here case 4 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:743:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ In file included from sfwr.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:744:4: note: here case 3 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ sfvscanf.c:742:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] else if ((*fm->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfhdr.h:744:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:745:4: note: here case 2 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:745:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:746:4: note: here case 1 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:518:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ In file included from sfvscanf.c:14: sfvscanf.c:106:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ~^~~~~ sfhdr.h:542:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:770:5: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^~ sfvscanf.c:771:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfvprintf.c:593:10: warning: this statement may fall through [-Wimplicit-fallthrough=] ssp = "0123456789ABCDEF"; ~~~~^~~~~~~~~~~~~~~~~~~~ sfvprintf.c:594:2: note: here case 'x': ^~~~ sfvprintf.c:604:12: warning: this statement may fall through [-Wimplicit-fallthrough=] flags &= ~(SFFMT_SIGN | SFFMT_BLANK); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfvprintf.c:605:2: note: here case 'd': ^~~~ sfwr.c: In function 'sfoutput': sfwr.c:33:10: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] s = n = 0; ^ In file included from sfvprintf.c:14: sfhdr.h:740:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:38:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while (((ulong) sp) % sizeof(int)) { ^ sfhdr.h:741:4: note: here case 6 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:741:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:742:4: note: here case 5 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:67:5: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= _Sfpage; ^~ sfhdr.h:742:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:75:7: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n = s = 0; ^ sfwr.c:77:41: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((wr = write(f->file, wbuf, buf - wbuf)) > 0) { ~~~~^~~~~~ sfhdr.h:743:4: note: here case 4 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:79:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_HOLE; ^ sfhdr.h:743:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:4: note: here case 3 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:92:8: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= s; ^~ sfhdr.h:744:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:4: note: here case 2 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:99:5: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= s; ^~ sfhdr.h:745:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfwr.c:14: sfwr.c: In function 'sfwr': sfhdr.h:746:4: note: here case 1 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:942:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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); ^~~~~~~~ sfhdr.h:740:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:129:14: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ sfhdr.h:741:4: note: here case 6 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:133:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] w = n + (f->next - f->data); ^ sfhdr.h:741:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:133:10: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] w = n + (f->next - f->data); ^ sfhdr.h:742:4: note: here case 5 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:742:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:743:4: note: here case 4 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfwr.c:140:36: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] n = rv; ^~ sfhdr.h:743:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:4: note: here case 3 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:744:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:4: note: here case 2 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:745:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:746:4: note: here case 1 : *to++ = *fr++; \ ^~~~ sfvprintf.c:81:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:950:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfwr.c:14: sfhdr.h:580:26: warning: conversion from 'int' to 'short unsigned int' may change 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 'int'} from 'size_t' {aka '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 from 'int' to 'short unsigned int' may change value [-Wconversion] f->bits &= ~SF_HOLE; ^ sfwr.c:198:2: warning: switch missing default case [-Wswitch-default] switch (_sfexcept(f, SF_WRITE, w, dc)) { ^~~~~~ In file included from sfwrite.c:14: sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ In file included from sfwrite.c:14: sfwrite.c: In function 'sfwrite': sfhdr.h:528:62: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-32769' to '4294934527' [-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: unsigned conversion from 'int' to 'unsigned int' changes value from '-257' to '4294967039' [-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 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] for (w = n; w > 0;) { ^ sfwrite.c:55:15: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] if ((r = w) > sizeof(buf)) ^ sfwrite.c:57:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= w; ^~ sfwrite.c:64:14: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-513' to '4294966783' [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ sfwrite.c:73:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s = begs = (uchar *) buf; ^ sfwrite.c:74:21: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-33' to '4294967263' [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfwrite.c:14: sfhdr.h:548: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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n -= w; ^~ In file included from sfwrite.c:14: sfwrite.c:96:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] (void) SFWR(f, s, n - w, f->disc); ^ sfhdr.h:535: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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] memcpy(f->next, s, w); ^ sfwrite.c:120:9: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] if ((n -= w) <= 0) ^~ sfwrite.c:130:21: warning: conversion to 'size_t' {aka 'unsigned int'} from '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] n = w; ^ In file included from sfwrite.c:14: sfhdr.h:556:16: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-57' to '4294967239' [-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); ^~~~~~ CCLD libsfio_C.la make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' Making all in vmalloc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' CC malloc.lo CC vmbest.lo CC vmclear.lo CC vmclose.lo CC vmdebug.lo CC vmdcheap.lo In file included from vmclear.c:14: vmhdr.h:149: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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] size = seg->baddr - ((Vmuchar_t *) tp) - 2 * sizeof(Head_t); ^ CC vmdisc.lo In file included from vmdebug.c:22: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmclose.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from malloc.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmdcheap.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmbest.c:14: vmhdr.h:149: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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] write(2, mesg, n); ^ In file included from vmdebug.c:22: vmdebug.c: In function 'dbwarn': vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:60: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:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:60: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:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:60: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:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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))), ^~~~~~ In file included from vmdebug.c:22: vmdebug.c: In function 'dbsetinfo': vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:357: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:369: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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ vmdebug.c: In function 'dbsize': vmdebug.c:314:56: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ In file included from vmdebug.c:22: vmdebug.c: In function 'dbresize': vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:350: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); ^~~~~~ malloc.c:16:5: warning: "_BLD_INSTRUMENT_" is not defined, evaluates to 0 [-Wundef] #if _BLD_INSTRUMENT_ || cray ^~~~~~~~~~~~~~~~ malloc.c:16:25: warning: "cray" is not defined, evaluates to 0 [-Wundef] #if _BLD_INSTRUMENT_ || cray ^~~~ vmdebug.c: In function 'vmdbcheck': vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:361: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:369: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); ^~~~~~ malloc.c: In function 'atou': malloc.c:66:16: warning: conversion to 'Vmulong_t' {aka 'long 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 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 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 long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] v = v * 10 + (*s - '0'); ^ vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:360: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); ^~~~~~~~ malloc.c: In function 'insertpid': malloc.c:110:9: warning: conversion from 'int' to 'char' may change value [-Wconversion] *--s = '0' + pid % 10; ^~~ vmhdr.h:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:360: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:345:38: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:349:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:360: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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] (SIZE(b) & ~BITS)); ^ malloc.c: In function 'vmflinit': malloc.c:197:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] vmdbwatch((void *) addr); ^ vmbest.c: In function 'bestreclaim': vmbest.c:368:16: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] size = (size & ~BITS) + s + sizeof(Head_t); ^ vmbest.c:370:8: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] size &= ~BITS; ^~ In file included from vmbest.c:14: vmhdr.h:223:20: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] #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:99:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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:109:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] #define CLRJUNK(w) ((w) &= ~JUNK) ^~ vmbest.c:519:2: note: in expansion of macro 'CLRJUNK' CLRJUNK(SIZE(tp)); ^~~~~~~ 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) ^~~~~~~~ vmbest.c:539:11: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] ((s & ~BITS) - (size + sizeof(Head_t))) | JUNK | BUSY; ^ In file included from vmbest.c:14: vmhdr.h:109:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-5' to '4294967291' [-Wsign-conversion] #define CLRJUNK(w) ((w) &= ~JUNK) ^~ vmbest.c:543:6: note: in expansion of macro 'CLRJUNK' CLRJUNK(SIZE(tp)); ^~~~~~~ vmhdr.h:106:26: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^~ vmbest.c:553:7: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(tp))); ^~~~~~~~ vmhdr.h:106:26: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] SIZE(np) &= ~BITS; ^~ vmbest.c: In function 'bestaddr': vmbest.c:665:32: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] reg size_t size = SIZE(b) & ~BITS; ^ vmbest.c: In function 'bestfree': vmbest.c:726:60: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] (*_Vmtrace) (vm, (Vmuchar_t *) data, NIL(Vmuchar_t *), (s & ~BITS), ^ In file included from vmbest.c:14: vmbest.c: In function 'bestresize': vmhdr.h:99:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^~ vmbest.c:784:2: note: in expansion of macro 'CLRBITS' CLRBITS(SIZE(rp)); ^~~~~~~ vmhdr.h:99:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^~ vmbest.c:790:3: note: in expansion of macro 'CLRBITS' CLRBITS(s); ^~~~~~~ vmhdr.h:223:45: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] #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:99:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^~ vmbest.c:796:3: note: in expansion of macro 'CLRBITS' CLRBITS(SIZE(rp)); ^~~~~~~ vmhdr.h:106:26: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] SIZE(np) = (((s & ~BITS) - size) - sizeof(Head_t)) | BUSY | JUNK; ^ 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) ~~~~^~~~~ vmbest.c:847:21: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] if (size < ((s & ~BITS) + bs)) ^ malloc.c: In function 'mallinfo': malloc.c:321:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] mi.arena = sb.extent; ^~ vmbest.c:848:13: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] size = (s & ~BITS) + bs; ^ malloc.c:323:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] mi.uordblks = sb.s_busy; ^~ malloc.c:324:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] mi.fordblks = sb.s_free; ^~ In file included from vmbest.c:14: vmhdr.h:99:25: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ In file included from vmbest.c:14: vmbest.c: In function 'bestcompact': vmhdr.h:106:26: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-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 'unsigned int' from '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] s = (Vmuchar_t *) np - (Vmuchar_t *) tp; ^ vmbest.c:1051:24: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] SIZE(np) = ((SIZE(tp) & ~BITS) - s) | BUSY; ^ vmbest.c:1065:17: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] SIZE(tp) = ((s & ~BITS) - sizeof(Head_t)) | BUSY | JUNK; ^ vmbest.c: In function 'sbrkmem': vmbest.c:1098:5: warning: "_BLD_INSTRUMENT" is not defined, evaluates to 0 [-Wundef] #if _BLD_INSTRUMENT || cray ^~~~~~~~~~~~~~~ CC vmlast.lo vmbest.c:1098:24: warning: "cray" is not defined, evaluates to 0 [-Wundef] #if _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: vmhdr.h:236:11: note: 'tiny' declared here Block_t *tiny[S_TINY]; /* small blocks */ ^~~~ CC vmopen.lo In file included from vmbest.c:14: vmbest.c: In function 'bestresize': vmhdr.h:375: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:376:4: note: here case 6: *to++ = *fr++; \ ^~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:376: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:377:4: note: here case 5: *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 5: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:378:4: note: here case 4: *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 4: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:379:4: note: here case 3: *to++ = *fr++; \ ^~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ In file included from vmdisc.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmhdr.h:379: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:380:4: note: here case 2: *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 2: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:381:4: note: here case 1: *to++ = *fr++; \ ^~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:386: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:387:4: note: here case 6: *d++ = 0; \ ^~~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:387: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:388:4: note: here case 5: *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 5: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:4: note: here case 4: *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 4: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:4: note: here case 3: *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 3: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:4: note: here case 2: *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 2: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:4: note: here case 1: *d++ = 0; \ ^~~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ CC vmpool.lo In file included from vmopen.c:14: vmhdr.h:149: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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SIZE(b) = seg->baddr - (Vmuchar_t *) b - 2 * sizeof(Head_t); ^ In file included from vmlast.c:14: vmhdr.h:149: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 'unsigned int'} from '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 'unsigned int'} from '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 'unsigned int' from '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 'unsigned int'} from '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 'unsigned int'} from '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] oldsize = s; ^ vmlast.c:182:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] oldsize = (Vmuchar_t *) tp - (Vmuchar_t *) data; ^ vmlast.c:190:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] ds = size - s; ^ vmlast.c:190:11: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] ds = size - s; ^~~~ In file included from vmlast.c:14: vmhdr.h:64:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] #define ROUNDX(x,y) ((((x) + ((y)-1)) / (y)) * (y)) ^ vmhdr.h:65: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:63:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ vmhdr.h:65: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:65:20: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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:65:20: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka '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 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] seg->extent + ds, vm->disc); ^ vmlast.c:196:13: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] seg->size += ds; ^~ vmlast.c:197:15: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] seg->extent += ds; ^~ vmlast.c:215:9: warning: conversion to 'ssize_t' {aka 'int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] ds = oldsize < size ? oldsize : size; ^~~~~~~ In file included from vmlast.c:14: vmhdr.h:373:10: warning: conversion to 'unsigned int' from 'ssize_t' {aka '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 'unsigned int'} from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] INTCOPY(d, ed, ds); ^~ vmhdr.h:374:40: note: in definition of macro 'INTCOPY' { default: memcpy((void*)to,(void*)fr,n); break; \ ^ vmlast.c:222:17: warning: conversion to 'unsigned int' from 'ssize_t' {aka 'int'} may change the sign of the result [-Wsign-conversion] SIZE(tp) = s - sizeof(Head_t); ^ vmlast.c:241:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'ssize_t' {aka '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 'unsigned int' from '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 '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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] if (seg->size == (s = SIZE(fp) & ~BITS)) ^ vmlast.c: In function 'lastalign': vmlast.c:369:14: warning: conversion to 'size_t' {aka 'unsigned int'} from '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: vmlast.c: In function 'lastresize': vmhdr.h:375: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:376:4: note: here case 6: *to++ = *fr++; \ ^~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:376: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:377:4: note: here case 5: *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 5: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:378:4: note: here case 4: *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 4: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:379:4: note: here case 3: *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 3: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:380:4: note: here case 2: *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 2: *to++ = *fr++; \ ~~~~~~^~~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:381:4: note: here case 1: *to++ = *fr++; \ ^~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:386: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:387:4: note: here case 6: *d++ = 0; \ ^~~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:387: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:388:4: note: here case 5: *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 5: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:4: note: here case 4: *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 4: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:4: note: here case 3: *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 3: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:4: note: here case 2: *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 2: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:4: note: here case 1: *d++ = 0; \ ^~~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ CC vmprivate.lo CC vmprofile.lo In file included from vmpool.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmpool.c: In function 'poolalloc': vmpool.c:60:21: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size) ^ vmpool.c:67:20: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] s = (SIZE(tp) & ~BITS) + sizeof(Head_t); ^ vmpool.c: In function 'pooladdr': vmpool.c:127:36: warning: conversion to 'size_t' {aka 'unsigned int'} from '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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] if (seg->size == (s = SIZE(fp) & ~BITS)) ^ In file included from vmprofile.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmprofile.c: In function 'pfsearch': vmprofile.c:87:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = line + (((Vmulong_t) vm) >> 4); ^ vmprofile.c:87:14: warning: conversion to 'long 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: vmprofile.c: In function 'pfsetinfo': vmhdr.h:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:322: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:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 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:54: warning: conversion to 'size_t' {aka 'unsigned int'} from '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:54: warning: conversion to 'size_t' {aka 'unsigned int'} from '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:25: warning: conversion to 'Vmulong_t' {aka 'long 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:49: warning: conversion to 'size_t' {aka 'unsigned int'} from '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: vmprofile.c: In function 'pffree': vmhdr.h:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:322: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:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmprofile.c:473:9: note: in expansion of macro 'PFSIZE' s = PFSIZE(data); ^~~~~~ CC vmregion.lo vmprofile.c: In function 'pfresize': vmhdr.h:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:322: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:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 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:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 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); ^~~~~~ CC vmsegment.lo In file included from vmprivate.c:14: vmhdr.h:149: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 'unsigned int' from '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: vmhdr.h:106:26: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-3' to '4294967293' [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^~ vmprivate.c:173:2: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(t))); ^~~~~~~~ CC vmset.lo In file included from vmregion.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmsegment.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ CC vmstat.lo CC vmstrdup.lo CC vmtrace.lo CC vmwalk.lo In file included from vmset.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmstat.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmstat.c: In function 'vmstat': vmstat.c:58:15: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] s = SIZE(b) & ~BITS; ^ In file included from vmstat.c:14: vmhdr.h:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] (SIZE(b) & ~BITS)); ^ vmstat.c:84:44: warning: conversion to 'size_t' {aka 'unsigned int'} from '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 'size_t' {aka '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 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] st->n_free += (SIZE(seg->free) + sizeof(Head_t)) / s; ^ vmstat.c:92:35: warning: conversion to 'unsigned int' from '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 '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 'unsigned int' may change the sign of the result [-Wsign-conversion] ((seg->baddr - (Vmuchar_t *) b) - sizeof(Head_t)) / s; ^ vmstat.c:99:43: warning: conversion to 'size_t' {aka '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] st->s_free = (st->m_free = vd->pool) * st->n_free; ^ In file included from vmwalk.c:14: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmstrdup.c:15: vmhdr.h:149:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmhdr.h:246, from vmstrdup.c:15: vmstrdup.c: In function 'vmstrdup': vmstrdup.c:27:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] strlen(s) + 1)) ? (char *) memcpy(t, s, ^~~~~~ vmalloc.h:176:58: note: in definition of macro 'vmalloc' #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^~ vmstrdup.c:26:20: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] vmalloc(v, n = vmalloc.h:176:58: note: in definition of macro 'vmalloc' #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^~ vmstrdup.c:28:14: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] n) : (char *) 0); ^ In file included from vmtrace.c:14: vmhdr.h:149: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 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen(from); ^~~~~~ vmtrace.c:29:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(to, from, n); ^ vmtrace.c:31:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] if ((*to = endc)) ^~~~ vmtrace.c: In function 'trtrace': vmtrace.c:134:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] write(Trfile, buf, (bufp - buf)); ~~~~~~^~~~~~ In file included from vmtrace.c:14: vmtrace.c: In function 'vmtrbusy': vmhdr.h:321:62: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-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 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: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] s = SIZE(b) & ~BITS; ^ vmtrace.c:179:56: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-8' to '4294967288' [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ CCLD libvmalloc_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' Making all in ast make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' CC pathpath.lo CC chresc.lo CC chrtoi.lo CC error.lo CC fmtbuf.lo CC fmtesc.lo error.c: In function '_err_msgv': error.c:55:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (level && ((s = error_info.id) || (s = (char *) id))) { ^ CC pathaccess.lo chrtoi.c: In function 'chrtoi': chrtoi.c:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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++)) { ^~~~~~ 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; ^ fmtbuf.c: In function 'fmtbuf': fmtbuf.c:33:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (n > (&buf[elementsof(buf)] - nxt)) ^ 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 'unsigned int'} may change the sign of the result [-Wsign-conversion] 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 '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] 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 '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] c += strlen((char *) qe); ^~~~~~ fmtesc.c:53:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] b = buf = fmtbuf(c); ^ fmtesc.c:104:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] *b++ = '0' + ((c >> 6) & 07); ^~~ fmtesc.c:105:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] *b++ = '0' + ((c >> 3) & 07); ^~~ fmtesc.c:113:10: warning: conversion from 'int' to 'char' may change value [-Wconversion] *b++ = c; ^ fmtesc.c:133:13: warning: conversion from 'int' to 'char' may change 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); ^ 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)) { ^ CC pathbin.lo CC pathcanon.lo CC pathcat.lo CC pathexists.lo CC pathfind.lo CC pathgetlink.lo CC strcopy.lo pathcat.c: In function 'pathcat': pathcat.c:42:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (*dirs ? (char *) ++dirs : 0); ^ pathexists.c: In function 'pathexists': pathexists.c:68:8: warning: conversion from 'int' to 'char' may change value [-Wconversion] *e = c; ^ pathexists.c:75:8: warning: conversion from 'int' to 'char' may change value [-Wconversion] *e = c; ^ pathexists.c:88:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] *e = c; ^ pathexists.c:97:8: warning: conversion from 'int' to 'char' may change value [-Wconversion] *e = c; ^ pathexists.c:109:9: warning: conversion from 'int' to 'char' may change value [-Wconversion] *e++ = c; ^ 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 from 'int' to 'char' may change 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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC stresc.lo CC strmatch.lo pathfind.c:47:5: warning: no previous prototype for 'pathinclude' [-Wmissing-prototypes] int pathinclude(const char *dir) ^~~~~~~~~~~ pathfind.c: In function 'pathfind': pathfind.c:81:17: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] 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, ':'))) ^ 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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((n = readlink(name, buf, siz)) < 0) ^~~ CC strton.lo stresc.c: In function 'stresc': stresc.c:33:2: warning: switch missing default case [-Wswitch-default] switch (c = *s++) { ^~~~~~ stresc.c:42:9: warning: conversion from 'int' to 'char' may change value [-Wconversion] *t++ = c; ^ In file included from strmatch.c:56: ./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 from 'int' to 'short int' may change 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 from 'int' to 'short int' may change value [-Wconversion] mp->current.groups = oldg; ^~~~ strmatch.c:358:28: warning: conversion from 'int' to 'short int' may change 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 from 'int' to 'short int' may change value [-Wconversion] mp->current.groups = g; ^ strmatch.c:427:21: warning: conversion from 'int' to 'short int' may change 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: 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 + ^ In file included from strton.c:56: ../../lib/sfio/sfhdr.h:123:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ ../../lib/sfio/sfhdr.h:127:5: warning: "_socket_peek" is not defined, evaluates to 0 [-Wundef] #if _socket_peek ^~~~~~~~~~~~ strton.c:61: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:63:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] register unsigned char *s = (unsigned char *) a; ^ strton.c:104:15: warning: conversion from 'int' to 'char' may change value [-Wconversion] *basep = base; ^~~~ strton.c:136:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (s > (unsigned char *) (a + 1)) { ^ strton.c:163:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (m < 0 || s == (unsigned char *) (a + 1)) ^ CCLD libast_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' Making all in vpsc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' CXX block.lo CXX blocks.lo CXX constraint.lo CXX generate-constraints.lo CXX remove_rectangle_overlap.lo CXX solve_VPSC.lo CXX csolve_VPSC.lo CXX variable.lo CXX pairingheap/PairingHeap.lo CXXLD libvpsc_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' Making all in rbtree make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' CC misc.lo CC red_black_tree.lo CC stack.lo misc.c:72:6: warning: no previous prototype for 'NullFunction' [-Wmissing-prototypes] void NullFunction(void * junk) { ; } ^~~~~~~~~~~~ misc.c: In function 'NullFunction': misc.c:72:26: warning: unused parameter 'junk' [-Wunused-parameter] void NullFunction(void * junk) { ; } ~~~~~~~^~~~ stack.c:71:6: warning: no previous prototype for 'StackDestroy' [-Wmissing-prototypes] void StackDestroy(stk_stack * theStack,void DestFunc(void * a)) { ^~~~~~~~~~~~ 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) { ^~~~~~~~~~~~~ CCLD librbtree_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' Making all in ortho make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' CC fPQ.lo CC maze.lo CC ortho.lo CC partition.lo CC rawgraph.lo CC sgraph.lo In file included from rawgraph.c:19: rawgraph.c: In function 'make_graph': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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); ^~~~~ CC trapezoid.lo maze.c: In function 'psdump': maze.c:65:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] absbb.UR.x = absbb.LL.x + BB.UR.x - BB.LL.x; ^~~~~ maze.c:66:18: warning: conversion from 'double' to 'int' may change 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) ~~~~~~^~ In file included from fPQ.c:17: fPQ.c: In function 'PQgen': maze.c: In function 'updateWts': ../../lib/common/memory.h:36:41: warning: conversion to '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*); ^~~~~ maze.c:144:19: warning: conversion from 'double' to 'int' may change 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 from 'double' to 'int' may change 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: maze.c: In function 'mkMazeGraph': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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: maze.c: In function 'mkMaze': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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); ^~~~~ partition.c: In function 'generateRandomOrdering': partition.c:157:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] j = i + drand48() * (n + 1 - i); ^ In file included from sgraph.c:18: sgraph.c: In function 'initSEdges': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] d = -(N_VAL(n) + E_WT(e)); ^ 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: partition.c: In function 'monotonate_trapezoids': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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: partition.c: In function 'partition': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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; ^~ ortho.c: In function 'setSeg': ortho.c:113:18: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] sp->isVert = dir; ^~~ In file included from ortho.c:32: ortho.c: In function 'convertSPtoRoute': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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: ortho.c: In function 'insertChan': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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:62: warning: conversion from 'double' to 'int' may change 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, 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 from 'double' to 'int' may change value [-Wfloat-conversion] return lo + f*(hi-lo); ~~~^~~~~~~~~~~ In file included from ortho.c:32: ortho.c: In function 'attachOrthoEdges': ../../lib/common/memory.h:39:41: warning: conversion to '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: ortho.c: In function 'orthoEdges': ../../lib/common/memory.h:39:41: warning: conversion to '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: ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] p.x = (cp->bb.LL.x + cp->bb.UR.x)/2; ^ ortho.c:1421:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = cp->bb.UR.y; ^~ ortho.c:1424:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = (cp->bb.LL.x + cp->bb.UR.x)/2; ^ ortho.c:1425:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = cp->bb.LL.y; ^~ ortho.c:1428:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = (cp->bb.LL.y + cp->bb.UR.y)/2; ^ ortho.c:1429:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = cp->bb.LL.x; ^~ ortho.c:1432:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = (cp->bb.LL.y + cp->bb.UR.y)/2; ^ ortho.c:1433:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = cp->bb.UR.x; ^~ ortho.c: In function 'emitEdge': ortho.c:1445:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1446:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] y = (n.UR.y + n.LL.y)/2; ^ ortho.c:1450:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = (n.UR.x + n.LL.x)/2; ^ ortho.c:1461:10: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1475:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1476:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] y = (n.UR.y + n.LL.y)/2; ^ ortho.c:1480:6: warning: conversion from 'double' to 'int' may change 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 from 'double' to 'int' may change value [-Wfloat-conversion] p.x = pf.x; ^~ ortho.c:1507:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = pf.y; ^~ ortho.c: In function 'emitGraph': ortho.c:1555:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] bbox.LL.x = absbb.LL.x + TRANS; ^~~~~ ortho.c:1556:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] bbox.LL.y = absbb.LL.y + TRANS; ^~~~~ ortho.c:1557:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] bbox.UR.x = absbb.UR.x + TRANS; ^~~~~ ortho.c:1558:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] bbox.UR.y = absbb.UR.y + TRANS; ^~~~~ trapezoid.c: In function 'add_segment': trapezoid.c:433: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:1036: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: trapezoid.c: In function 'construct_trapezoids': ../../lib/common/memory.h:36:41: warning: conversion to '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:1051:10: note: in expansion of macro 'N_NEW' qs = N_NEW (2*ntraps, qnode_t); ^~~~~ trapezoid.c:1053:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset((void *)tr, 0, ntraps*sizeof(trap_t)); ^ 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) ~~~~^~~~~~ CCLD libortho_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' Making all in sparse make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sparse' CC SparseMatrix.lo CC BinaryHeap.lo CC general.lo CC vector.lo CC DotIO.lo CC IntStack.lo general.c: In function 'vector_percentile': general.c:47:7: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] i = n*y; ^ general.c: In function 'random_permutation': general.c:67:25: warning: conversion to '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*p) *p = MALLOC(sizeof(int)*n); ^ 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); ^~~~~ general.c:225:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*2*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)); ^~~~~ general.c:233:14: warning: conversion to 'size_t' {aka '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 '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 '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(int), comp_ascend_int); ^ DotIO.c: In function 'SparseMatrix_import_dot': general.c:254:14: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(int), comp_descend_int); ^ 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: general.h:44:36: warning: conversion to '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 '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 '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 '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:184:12: note: in expansion of macro 'N_NEW' valD = N_NEW(nedges, real); ^~~~~ general.c: In function 'strip_dir': 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:189:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ general.c:302:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] for (i = strlen(s); i >= 0; i--) { ^~~~~~ 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:192:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ 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': DotIO.c:219:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *edge_label_nodes = MALLOC(sizeof(int)*nedge_nodes); ^ general.c:364:28: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if (val > INT_MAX || val < INT_MIN) return 0; ^ DotIO.c:224:56: warning: conversion to '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:226: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:227:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:250:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:250:35: warning: conversion to '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:256:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c: In function 'Import_dot_splines': DotIO.c:354:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ DotIO.c:359:53: warning: conversion to '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:410:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite(x, sizeof(real), dim*n, f); ~~~^~ DotIO.c:418:39: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite(&(ja[ia[i]]), sizeof(int), len, f); ^~~ BinaryHeap.c: In function 'BinaryHeap_new': BinaryHeap.c:23:33: warning: conversion to '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 '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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] max_len = max_len + MAX(0.2*max_len, 10); ^~~~~~~ BinaryHeap.c:50:43: warning: conversion to '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 '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 '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); ^ In file included from DotIO.c:15: DotIO.c: In function 'makeDotGraph': general.h:44:36: warning: conversion to '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:469:20: note: in expansion of macro 'N_NEW' Agnode_t** arr = N_NEW (A->m, Agnode_t*); ^~~~~ 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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return size; ^~~~ DotIO.c:543:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i; ^ DotIO.c:551:32: warning: conversion to '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:553:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ BinaryHeap.c: In function 'BinaryHeap_sanity_check': BinaryHeap.c:248:28: warning: conversion to '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))); ^ 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:583:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ In file included from general.h:21, 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); ^~~~ 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:596:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:600:2: warning: switch missing default case [-Wswitch-default] switch (A->type){ ^~~~~~ DotIO.c:465: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:644:7: warning: no previous prototype for 'cat_string' [-Wmissing-prototypes] char *cat_string(char *s1, char *s2){ ^~~~~~~~~~ DotIO.c:653: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:693:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ndmap = malloc(sizeof(Agnode_t *)*nnodes); ^ DotIO.c:706:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ DotIO.c:676:7: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ SparseMatrix.c: In function 'SparseMatrix_init': SparseMatrix.c:306:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] A->size = sz; ^~ DotIO.c: In function 'hexcol2rgb': DotIO.c:769:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] return (hex2int(h[0])*16 + hex2int(h[1]))/255.; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ SparseMatrix.c: In function 'SparseMatrix_alloc': SparseMatrix.c:336:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ 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:781:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ SparseMatrix.c:343:28: warning: conversion to 'size_t' {aka '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 '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] A->a = REALLOC(A->a, A->size*nz_t); ^ DotIO.c: In function 'Import_coord_clusters_from_dot': SparseMatrix.c:375:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ DotIO.c:863: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: general.h:44:36: warning: conversion to '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:866:7: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to '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:867:7: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to '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:868: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:876:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ 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){ ^~~~~~~~~~~~~~~~~~~~~~ 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:879:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ DotIO.c:893:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *clusters = MALLOC(sizeof(int)*nnodes); ^ DotIO.c:902:38: warning: conversion to '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:907: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:915: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:924:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ SparseMatrix.c:481:6: warning: no previous prototype for 'SparseMatrix_print_coord' [-Wmissing-prototypes] void SparseMatrix_print_coord(char *c, SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~~~~~~ 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:960:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:971:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *label_sizes = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:971:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *label_sizes = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:973:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:974:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:975:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:981:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *fsz = MALLOC(sizeof(float)*nnodes); ^ DotIO.c:982:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *labels = MALLOC(sizeof(char*)*nnodes); ^ DotIO.c:986:10: warning: declaration of 'sz' shadows a previous local [-Wshadow] real sz; ^~ DotIO.c:805: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:987:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:1032:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] (*rgb_r)[(*clusters)[i]] = color.u.RGBA[0]; ^~~~~ DotIO.c:1033:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] (*rgb_g)[(*clusters)[i]] = color.u.RGBA[1]; ^~~~~ DotIO.c:1034:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] (*rgb_b)[(*clusters)[i]] = color.u.RGBA[2]; ^~~~~ SparseMatrix.c: In function 'SparseMatrix_export_binary_fp': SparseMatrix.c:637:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite(A->ia, sizeof(int), A->nz, f); ~^~~~ DotIO.c:1050:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:1050:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ SparseMatrix.c:639:37: warning: conversion to 'size_t' {aka '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:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite(A->ja, sizeof(int), A->nz, f); ~^~~~ 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:1053:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ SparseMatrix.c:642:34: warning: conversion to 'size_t' {aka '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:43: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&m, sizeof(int), 1, f); ^~~~~ DotIO.c: In function 'attached_clustering': DotIO.c:1107:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ SparseMatrix.c:669:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&n, sizeof(int), 1, f); ^~~~~ In file included from DotIO.c:15: general.h:44:36: warning: conversion to '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:1110:7: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to '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:1111:7: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ SparseMatrix.c:671:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&nz, sizeof(int), 1, f); ^~~~~ general.h:44:36: warning: conversion to '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:1112:9: note: in expansion of macro 'N_NEW' val = N_NEW(nedges, real); ^~~~~ SparseMatrix.c:673:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&nzmax, sizeof(int), 1, f); ^~~~~ 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:1119:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ SparseMatrix.c:675:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&type, sizeof(int), 1, f); ^~~~~ 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:1122:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ SparseMatrix.c:677:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&format, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:679:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&property, sizeof(int), 1, f); ^~~~~ DotIO.c:1135:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] clusters = MALLOC(sizeof(int)*nnodes); ^ SparseMatrix.c:681:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(&sz, sizeof(size_t), 1, f); ^~~~~ SparseMatrix.c:689:40: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(A->ia, sizeof(int), A->nz, f); ^~~~~ 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:1153:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ SparseMatrix.c:692:44: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(A->ia, sizeof(int), A->m + 1, f); ^~~~~ DotIO.c: In function 'setDotNodeID': DotIO.c:1180:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = v; ^ SparseMatrix.c:695:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->ja, sizeof(int), A->nz, f); ~^~~~ DotIO.c: In function 'getDotNodeID': SparseMatrix.c:695:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(A->ja, sizeof(int), A->nz, f); ^~~~~ 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:1185:12: note: in expansion of macro 'ND_id' return ND_id(n); ^~~~~ SparseMatrix.c:699:26: warning: conversion to 'size_t' {aka '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:35: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] iread = fread(A->a, A->size, A->nz, f); ^~~~~ SparseMatrix.c: In function 'SparseMatrix_from_coordinate_format': SparseMatrix.c:809:88: warning: conversion to 'size_t' {aka '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:102: warning: conversion to 'size_t' {aka '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] b = MALLOC(sizeof(real)*A->nz); ^ vector.c: In function 'Vector_new': vector.c:26:29: warning: conversion to 'size_t' {aka '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:34: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:35:42: warning: conversion to 'size_t' {aka '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:41:70: warning: conversion to 'size_t' {aka '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:49:37: warning: conversion to 'size_t' {aka '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:60:72: warning: conversion to 'size_t' {aka '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:69:26: warning: conversion to 'size_t' {aka '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:80:6: warning: no previous prototype for 'intdealloactor' [-Wmissing-prototypes] void intdealloactor(void *v){ ^~~~~~~~~~~~~~ vector.c: In function 'intdealloactor': vector.c:80:27: warning: unused parameter 'v' [-Wunused-parameter] void intdealloactor(void *v){ ~~~~~~^ vector.c: At top level: vector.c:115:6: warning: no previous prototype for 'nulldealloactor' [-Wmissing-prototypes] void nulldealloactor(void *v){ ^~~~~~~~~~~~~~~ vector.c: In function 'nulldealloactor': vector.c:115:28: warning: unused parameter 'v' [-Wunused-parameter] void nulldealloactor(void *v){ ~~~~~~^ vector.c: At top level: vector.c:118:6: warning: no previous prototype for 'strdealloactor' [-Wmissing-prototypes] void strdealloactor(void *v){ ^~~~~~~~~~~~~~ IntStack.c: In function 'IntStack_new': IntStack.c:24:32: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] max_len = max_len + MAX(10,0.2*max_len); ^~~~~~~ IntStack.c:40:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s->stack = REALLOC(s->stack, sizeof(int)*max_len); ^ SparseMatrix.c: In function 'SparseMatrix_sum_repeat_entries': SparseMatrix.c:1845:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ymax = ymin = a[1]; ^ SparseMatrix.c:1881:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xmax = xmin = a[1]; ^ SparseMatrix.c: In function 'SparseMatrix_coordinate_form_add_entries': SparseMatrix.c:1983:50: warning: conversion to '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 '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 '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 '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:61: warning: conversion to 'size_t' {aka '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 '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, 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 '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 '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 '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 '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:83: warning: conversion to 'size_t' {aka '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); ~^~~~~~ CC LinkedList.lo SparseMatrix.c: In function 'SparseMatrix_get_submatrix': SparseMatrix.c:3183:82: warning: conversion to 'size_t' {aka '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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: ^~~~ CC colorutil.lo CC color_palette.lo LinkedList.c:124:6: warning: no previous prototype for 'DoubleLinkedList_print' [-Wmissing-prototypes] void DoubleLinkedList_print(DoubleLinkedList head, void (*linkedlist_print)(void*)){ ^~~~~~~~~~~~~~~~~~~~~~ CC mq.lo CC clustering.lo colorutil.c:42:6: warning: no previous prototype for 'Hue2RGB' [-Wmissing-prototypes] real Hue2RGB(real v1, real v2, real H) { ^~~~~~~ CC QuadTree.lo mq.c: In function 'get_mq': mq.c:88:30: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = MALLOC(sizeof(int)*(grid->n)); ^ clustering.c: In function 'Multilevel_Modularity_Clustering_init': clustering.c:39:39: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = MALLOC(sizeof(int)*(grid->n)); ^ QuadTree.c: In function 'node_data_new': QuadTree.c:38:34: warning: conversion to '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 from 'double' to 'int' may change 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 '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 '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 '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 '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: ../../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: ../../lib/common/geom.h:26:30: note: shadowed declaration is here typedef struct { int x, y; } point; ^~~~~ QuadTree.c:136:46: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] q->qts = MALLOC(sizeof(QuadTree)*(1<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, from ./patchwork.h:17, from patchwork.c:16: patchwork.c: In function 'layoutTree': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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, from ./patchwork.h:17, from patchwork.c:16: ../../lib/common/memory.h:36:41: warning: conversion to '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) ^~ 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, from tree_map.c:14: tree_map.c: In function 'tree_map': ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ In file included from ../../lib/common/render.h:44, from patchwork.h:17, from patchworkinit.c:14: patchworkinit.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to '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 '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 '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 '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 *); ^~~~~ CCLD libpatchwork_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/patchwork' Making all in expr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' CC excc.lo CC excontext.lo CC exdata.lo CC exerror.lo CC exeval.lo CC exexpr.lo In file included from exlib.h:131, 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 exlib.h:131, 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:131, 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 exlib.h:134, 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 'unsigned int' from '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 'unsigned int' from '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 'unsigned int' may change the sign of the result [-Wsign-conversion] if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) ^ In file included from exlib.h:131, 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__) ^~~~~~~~~ CC exlexname.lo In file included from exlib.h:134, 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: 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c: In function 'prformat': exeval.c:263:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen(fmt->value.string); ^~~~~~ exeval.c:264:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((s = fmtbuf(n + 1))) ~~^~~ exeval.c:265:38: warning: conversion to 'size_t' {aka '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, from exeval.c:26: ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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 from 'int' to 'char' may change value [-Wconversion] *s = tolower(*s); ^~~~~~~ exeval.c:329:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] *s = toupper(*s); ^~~~~~~ exeval.c:335:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] *s = tolower(*s); ^~~~~~~ exeval.c:341:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] *s = toupper(*s); ^~~~~~~ exeval.c:355:13: warning: conversion from 'long long int' to 'time_t' {aka 'long int'} may change value [-Wconversion] if ((tm = *((Sflong_t*)vp)) == -1) ^ 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: 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ In file included from ../../lib/ast/ast.h:21, from exlib.h:29, from exeval.c:26: ../../lib/sfio/sfio.h:274:20: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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:151: warning: conversion from 'long long int' to 'int' may change 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, from exlib.h:131, from exeval.c:26: exeval.c: In function 'scformat': ../../lib/vmalloc/vmalloc.h:193:60: warning: conversion to 'unsigned int' from 'ssize_t' {aka '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:180: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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ In file included from ../../lib/ast/ast.h:21, from exlib.h:29, from exeval.c:26: ../../lib/sfio/sfio.h:274:20: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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:155: warning: conversion from 'long long int' to 'int' may change 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:51: warning: conversion to 'size_t' {aka '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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:719:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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: 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:839:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] sfwrite(ex->tmp, str, sub[0]); ~~~^~~ exeval.c:846:30: warning: conversion to 'size_t' {aka '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: 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 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s.string); ^~~~~~ In file included from ./expr.h:58, from exlib.h:131, from exeval.c:26: exeval.c:881:39: warning: conversion from 'long long int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] v.string = vmalloc(ex->ve, l.integer + 1); ../../lib/vmalloc/vmalloc.h:176:58: note: in definition of macro 'vmalloc' #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^~ exeval.c:883:44: warning: conversion from 'long long int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:905:14: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change 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: 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:957:19: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] ex->loopcount = v.integer; ^ exeval.c:1043:11: warning: conversion from 'long long int' to 'long int' may change value [-Wconversion] seed = eval(ex, x, env).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 of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (n < elementsof(args)) ^ exeval.c:1244:81: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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 of integer expressions of different signedness: 'int' and 'unsigned int' [-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 of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (x = expr->data.operand.right; x && n < elementsof(args); x = x->data.operand.right) ^ exeval.c:1263:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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 from 'double' to 'long long int' may change value [-Wfloat-conversion] if ((r.integer = r.floating) == 0) ^ exeval.c:1353:20: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = ((Sflong_t)v.floating) % r.integer; ^ exeval.c:1356:19: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = ((Sflong_t)v.floating) & ((Sflong_t)r.floating); ^ exeval.c:1359:19: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = ((Sflong_t)v.floating) | ((Sflong_t)r.floating); ^ exeval.c:1362:19: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = ((Sflong_t)v.floating) ^ ((Sflong_t)r.floating); ^ exeval.c:1365:19: warning: conversion from 'long long int' to 'double' may change 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 from 'long long unsigned int' to 'double' may change 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 from 'double' to 'long long int' may change value [-Wfloat-conversion] v.integer = v.floating; ^ exeval.c:1521:17: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = ~((Sflong_t)v.floating); ^ exeval.c:1533:17: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = (Sflong_t)v.floating & (Sflong_t)r.floating; ^ exeval.c:1536:17: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] v.floating = (Sflong_t)v.floating | (Sflong_t)r.floating; ^ exeval.c:1539:17: warning: conversion from 'long long int' to 'double' may change 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 from 'double' to 'long long int' may change value [-Wfloat-conversion] if ((r.integer = r.floating) == 0) ^ exeval.c:1554:18: warning: conversion from 'long long int' to 'double' may change 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 from 'long long unsigned int' to 'double' may change value [-Wconversion] v.floating = (Sfulong_t)v.integer; ^ exeval.c:1662:18: warning: conversion from 'long long int' to 'double' may change 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ In file included from exlib.h:131, 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 exlib.h:131, 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:131, 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 exlib.h:131, 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 ./exlib.h:131, 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 exlib.h:134, 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, from exlib.h:131, from exexpr.c:20: exexpr.c: In function 'exexpr': ../../lib/cdt/cdt.h:261: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; ^~~~~~~ In file included from ./exlib.h:131, 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:131, 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:131, 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__) ^~~~~~~~~ CC exopen.lo In file included from ./exlib.h:134, 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__) ^~~~~~~~ In file included from exlib.h:134, 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:121:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:156:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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: 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) ^~~~~~ In file included from ./exlib.h:134, 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__) ^~~~~~~~ excc.c:539:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exerror.c: In function 'exerror': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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())) ^~~~~~~~~ excc.c: In function 'global': 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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exerror.c: In function 'exwarn': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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())) { ^~~~~~~~~ excc.c:657:33: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] sfsprintf(cc->id, strlen(id) + 2, "%s_", id); ~~~~~~~~~~~^~~ In file included from ./expr.h:57, from exlib.h:131, from excc.c:26: excc.c: In function 'excc': ../../lib/cdt/cdt.h:261: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: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ CC exrewind.lo In file included from exlib.h:131, 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 exlib.h:131, 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, 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]; ^ CC extoken.lo CC extype.lo In file included from exlib.h:131, 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 exlib.h:131, 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, 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:40:41: warning: conversion to 'size_t' {aka '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 from 'int' to 'char' may change value [-Wconversion] ex->input->pushback[n++] = ex->input->peek; ^~ CC exzero.lo In file included from ./exlib.h:131, 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 exlib.h:131, 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 exlib.h:131, 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:131, 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 ^~~~~~~ In file included from exlib.h:134, 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 ^~~~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ 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: exlib.h:140:123: warning: conversion from 'int' to 'char' may change 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); ^~~~~~~~ CC exparse.lo In file included from ./exlib.h:134, 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__) ^~~~~~~~ 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) ^~~~~~ exopen.c: In function 'exopen': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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()) || ^~~~~~~~~ In file included from exlib.h:131, 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 exlib.h:131, 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, 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) ^~~~~~ In file included from exlib.h:131, 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 exlib.h:131, 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, 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) ^~~~~~ CC exnospace.lo CC exstash.lo In file included from exlib.h:131, 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 exlib.h:131, 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, 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: exgram.h: In function 'exnewnode': exgram.h:64:10: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->op = op; ^~ exgram.h:65:12: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->type = type; ^~~~ exgram.h:66:14: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->binary = binary; ^~~~~~ exgram.h: In function 'exfreenode': exgram.h:166:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-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 'excast': exgram.h:463:14: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->type = type; ^~~~ In file included from ../../lib/expr/exparse.y:168: exgram.h:511:37: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] x->data.constant.value.integer = x->data.constant.value.floating; ^ exgram.h:518:38: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] x->data.constant.value.floating = x->data.constant.value.integer; ^ exgram.h:526:37: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] x->data.constant.value.integer = strtod(s, &e); ^~~~~~ exgram.h:540:13: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->type = type; ^~~~ exgram.h: In function 'preprint': exgram.h:749:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (i >= elementsof(x->param)) ^~ exgram.h:855:20: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change 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 of integer expressions of different signedness: 'int' and 'unsigned int' [-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) ~~~~~~~~~~~^~~~ In file included from ./exlib.h:131, 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__) ^~~~~~~~~ y.tab.c: In function 'exparse': y.tab.c:1613:12: warning: conversion from 'int' to 'extype_int16' {aka 'short int'} may change value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1618:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~ ../../lib/expr/exparse.y:277:20: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] | static {expr.instatic=$1;} DECLARE {expr.declare=$3->type;} dcl_list ';' ^ In file included from ./exlib.h:131, 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 ../../lib/expr/exparse.y:32: ../../lib/ast/ast.h:71:94: warning: conversion to '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))) ^~~~~ In file included from ./expr.h:58, from exlib.h:131, from exgram.h:33, from ../../lib/expr/exparse.y:168: ../../lib/expr/exparse.y:451:84: warning: conversion to '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:180: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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memcpy($$->data.select.constant, sw->base, n * sizeof(Extype_t*)); ^ In file included from ../../lib/expr/exparse.y:32: ../../lib/ast/ast.h:71:62: warning: conversion to '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 '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:547:35: warning: conversion from 'long long int' to 'long int' may change value [-Wconversion] $1->index_type = $3; /* -1 indicates no typechecking */ ^ ../../lib/expr/exparse.y:553:31: warning: conversion from 'long int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] $4->type = $1->type; ^ ../../lib/expr/exparse.y:559:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ In file included from ./exlib.h:134, 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; ^ ../../lib/expr/exparse.y:904:5: warning: switch missing default case [-Wswitch-default] switch ($1->index) ^~~~~~ ../../lib/expr/exparse.y:931:5: warning: switch missing default case [-Wswitch-default] switch ($1->index) ^~~~~~ ../../lib/expr/exparse.y:1241:26: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] $$->subop = $1; ^ In file included from ./exlib.h:131, 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 ./exlib.h:131, 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, 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__) ^~~~~~~~ CCLD libexpr_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' Making all in common make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make all-am make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' CC arrows.lo CC colxlate.lo CC ellipse.lo CC textspan.lo CC memory.lo CC args.lo ellipse.c:52:5: warning: "STANDALONE" is not defined, evaluates to 0 [-Wundef] #if STANDALONE ^~~~~~~~~~ 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 from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[0] = r; ^ colxlate.c:293:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[1] = g; ^ colxlate.c:294:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[2] = b; ^ colxlate.c:295:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[3] = a; ^ colxlate.c:302:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ colxlate.c:303:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ colxlate.c:304:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ colxlate.c:305:25: warning: conversion from 'int' to 'unsigned char' may change 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 from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[0] = (int) (R * 255); ^ colxlate.c:361:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[1] = (int) (G * 255); ^ colxlate.c:362:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[2] = (int) (B * 255); ^ colxlate.c:368:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ colxlate.c:369:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ colxlate.c:370:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ colxlate.c:371:22: warning: conversion from 'int' to 'unsigned char' may change 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 from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C * 255; ^ colxlate.c:429:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M * 255; ^ colxlate.c:430:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y * 255; ^ colxlate.c:431:25: warning: conversion from 'int' to 'unsigned char' may change 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 from 'int' to 'unsigned char' may change value [-Wconversion] rgba[i] = rrggbbaa[i] * 255 / 65535; ^~~~~~~~ CC globals.lo 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, from ellipse.c:80: types.h:106:7: note: shadowed declaration is here } path; ^~~~ In file included from render.h:44, from ellipse.c:80: memory.h:36:41: warning: conversion to '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, from ellipse.c:80: types.h:106:7: note: shadowed declaration is here } path; ^~~~ ellipse.c:425:39: warning: conversion to '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, from ellipse.c:80: types.h:106: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, from ellipse.c:80: types.h:106:7: note: shadowed declaration is here } path; ^~~~ ellipse.c:448:43: warning: conversion to '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, from ellipse.c:80: types.h:106: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 ^~~~~~~ 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) ~~~~~~~^~~ 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)); ^ 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) ~~~~~~~^~~ 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 */ ^~ 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) ~~~~~~~~~~^~~~ arrows.c:374:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.y == q.y) { /* horz segment */ ^~ 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) ~~~~~~~~~~^~~~ arrows.c:398:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.y == q.y) { /* horz segment */ ^~ 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) ~~~~~~~~~~^~~~ 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) ~~~~^~~~ CC htmllex.lo CC htmlparse.lo CC htmltable.lo CC input.lo CC pointset.lo htmllex.c: In function 'error_context': htmllex.c:56:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(state.xb, state.prevtok, state.prevtoklen); ~~~~~^~~~~~~~~~~ htmllex.c:57:45: warning: conversion to 'size_t' {aka '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 from 'int' to 'short unsigned int' may change 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 '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 from 'int' to 'char' may change value [-Wconversion] state.warn |= ip->action(tp, val); ^~ htmllex.c: In function 'mkFont': htmllex.c:603:16: warning: conversion from 'int' to 'unsigned char:7' may change 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 change the sign of the result [-Wsign-conversion] return XML_GetCurrentLineNumber(state.parser); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllex.c: In function 'htmllex': htmllex.c:1036:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s); ^~~~~~ htmllex.c:1043:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s); ^~~~~~ htmllex.c:1070:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG ^~~~~ ../../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 from 'int' to 'char' may change value [-Wconversion] ln->lp.just = v; ^ ../../lib/common/htmlparse.y:201:18: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ln->lp.nitems = cnt; ^~~ In file included from render.h:44, from ../../lib/common/htmlparse.y:16: memory.h:36:41: warning: conversion to '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 from 'int' to 'short int' may change value [-Wconversion] hft->nspans = cnt; ^~~ In file included from render.h:44, from ../../lib/common/htmlparse.y:16: memory.h:36:41: warning: conversion to '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 from 'int' to 'char' may change value [-Wconversion] cp->child.kind = kind; ^~~~ ../../lib/common/htmlparse.y: In function 'mkLabel': ../../lib/common/htmlparse.y:305:14: warning: conversion from 'int' to 'char' may change value [-Wconversion] lp->kind = kind; ^~~~ y.tab.c: In function 'htmlparse': y.tab.c:1637:14: warning: conversion from 'int' to 'htmltype_int16' {aka 'short int'} may change value [-Wconversion] *yyssp = yystate; ^~~~~~ y.tab.c:1642:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~~ CC intset.lo htmltable.c: In function 'doBorder': htmltable.c:267:2: warning: switch missing default case [-Wswitch-default] switch (sides) { ^~~~~~ htmltable.c: In function 'initAnchor': htmltable.c:388:30: warning: conversion to 'boolean' {aka 'unsigned char'} from 'signed char:1' may change the sign of the result [-Wsign-conversion] save->explicit_tooltip = obj->explicit_tooltip; ^~~ htmltable.c: In function 'endAnchor': htmltable.c:443:29: warning: conversion from 'boolean' {aka 'unsigned char'} to 'signed char:1' may change value [-Wconversion] obj->explicit_tooltip = save->explicit_tooltip; ^~~~ htmltable.c: In function 'emit_html_rules': htmltable.c:477:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:481:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:495:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:498:11: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] base *= 2; ^ htmltable.c:501:11: warning: conversion from 'double' to 'unsigned char' may change 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 from 'int' to 'unsigned char' may change value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:512:11: warning: conversion from 'double' to 'unsigned char' may change 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) { ^~~~~~ 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) ~~~~~~~~~~~^~~~ 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) ^~~~~~~~~~~~~ In file included from render.h:44, from pointset.c:15: pointset.c: In function 'pointsOf': memory.h:36:41: warning: conversion to '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) ~~~~~~~^ 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, from input.c:15: types.h:106:7: note: shadowed declaration is here } path; ^~~~ In file included from render.h:44, from input.c:15: input.c: In function 'use_library': htmltable.c: In function 'html_path': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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 *); ^~~~~ 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) ~~~~^~~~ input.c: In function 'global_def': input.c:185:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n (xb, dcl, p-dcl); ~^~~~ 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) ~~~~~^ input.c: In function 'dotneato_args_initialize': htmltable.c: In function 'size_html_txt': input.c:255:15: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] Verbose = gvc->common.verbose; ^~~ 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) { ^~ In file included from render.h:44, from input.c:15: memory.h:36:41: warning: conversion to '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 *); ^~~~~ htmltable.c:1057:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] ftxt->simple = simple; ^~~~~~ input.c:378:29: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (PSinputscale == 0) ^~ 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 from 'int' to 'short unsigned int' may change value [-Wconversion] cellp->row = r; ^ htmltable.c:1305:19: warning: conversion from 'int' to 'short unsigned int' may change 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, from htmltable.c:35: htmltable.c: In function 'sizeLinearArray': memory.h:36:41: warning: conversion to '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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] ht = cp->data.box.UR.y; ^~ input.c: In function 'graph_init': htmltable.c:1328:22: warning: conversion from 'double' to 'int' may change 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); ^~~~~ input.c:688:21: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] GD_charset(g) = findCharset (g); ^~~~~~~~~~~ htmltable.c:1354:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] wd = cp->data.box.UR.x; ^~ htmltable.c:1328:22: warning: conversion from 'double' to 'int' may change 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': input.c:738:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] GD_showboxes(g) = late_int(g, agfindgraphattr(g, "showboxes"), 0, 0); ^~~~~~~~ htmltable.c:1382:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (c < sizeof(nnames) / sizeof(char *)) ^ In file included from render.h:44, from htmltable.c:35: htmltable.c: In function 'checkChain': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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, from types.h:35, from render.h:40, from htmltable.c:35: htmltable.c: In function 'checkEdge': arith.h:40:18: warning: conversion from 'int' to 'short unsigned int' may change 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 from 'int' to 'short unsigned int' may change value [-Wconversion] ED_minlen(e) = sz; ^~ In file included from render.h:44, from htmltable.c:35: memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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, from htmltable.c:35: htmltable.c: In function 'makeGraphs': memory.h:36:41: warning: conversion to '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:273: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 '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:273: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 '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:273: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 '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:273: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:40: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] checkEdge (colg, t, h, cp->data.box.UR.x); ~~~~~~~~~~~~~~~^~ htmltable.c:1500:40: warning: conversion from 'double' to 'int' may change 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, from htmltable.c:35: htmltable.c: In function 'sizeArray': memory.h:36:41: warning: conversion to '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 '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 from 'int' to 'unsigned char' may change 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 from 'double' to 'int' may change value [-Wfloat-conversion] oldsz = tbl->data.box.UR.x; ^~~ htmltable.c:1760:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] delx = (pos.UR.x - pos.LL.x) - oldsz; ^ htmltable.c:1762:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] oldsz = tbl->data.box.UR.y; ^~~ htmltable.c:1763:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] dely = (pos.UR.y - pos.LL.y) - oldsz; ^ htmltable.c:1803:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = pos.LL.x + tbl->data.border + tbl->data.space; ^~~ htmltable.c:1811:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] y = pos.UR.y - tbl->data.border - tbl->data.space; ^~~ htmltable.c:1839:23: warning: conversion from 'int' to 'unsigned char' may change 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, 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)) { ^~~~~~ 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) ~~~~~~~~~~^~~~ CC postproc.lo CC routespl.lo postproc.c: In function 'translate_drawing': postproc.c:151:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int shift = (Offset.x || Offset.y); ^~~~~~ postproc.c:151:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int shift = (Offset.x || Offset.y); ^~ In file included from render.h:44, from postproc.c:15: postproc.c: In function 'addXLabels': memory.h:36:41: warning: conversion to '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 '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) { ^~~~~~ In file included from render.h:44, from routespl.c:16: routespl.c: In function 'simpleSplineRoute': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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:437:15: note: in expansion of macro 'ALLOC' polypoints = ALLOC(boxn * 8, polypoints, Ppoint_t); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:437:15: note: in expansion of macro 'ALLOC' polypoints = ALLOC(boxn * 8, polypoints, Ppoint_t); ^~~~~ memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:565:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:565:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ routespl.c:617: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:617: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 from 'double' to 'int' may change 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 from 'double' to 'int' may change 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 from 'double' to 'int' may change 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 from 'double' to 'int' may change 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 from 'double' to 'int' may change value [-Wfloat-conversion] xy = (ba->UR.x + bb->LL.x) / 2.0 + 0.5, ba->UR.x = ^ routespl.c:749:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xy = (ba->LL.x + bb->UR.x) / 2.0 + 0.5, ba->LL.x = ^ routespl.c:752:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xy = (ba->UR.y + bb->LL.y) / 2.0 + 0.5, ba->UR.y = ^ routespl.c:755:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xy = (ba->LL.y + bb->UR.y) / 2.0 + 0.5, ba->LL.y = ^ routespl.c:764:27: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ~~~~~~^~ routespl.c:764:37: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ~~~~~~^~ routespl.c:764:47: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ~~~~~~^~ routespl.c:764:57: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ~~~~~~^~ routespl.c:765:27: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ~~~~~~^~ routespl.c:765:37: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ~~~~~~^~ routespl.c:765:47: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ~~~~~~^~ routespl.c:765:57: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ~~~~~~^~ In file included from render.h:44, from routespl.c:16: routespl.c: In function 'mkspacep': memory.h:42:58: warning: conversion to '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: At top level: routespl.c:915:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static vec* vec_new() ^~~~~~~ routespl.c: In function 'bend': routespl.c:1167: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:1185: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:1186:13: warning: declaration of 'elist' shadows a global declaration [-Wshadow] edge_t* elist[MAX_EDGE]; ^~~~~ In file included from render.h:40, from routespl.c:16: types.h:264:7: note: shadowed declaration is here } elist; ^~~~~ In file included from render.h:44, from routespl.c:16: memory.h:36:41: warning: conversion to '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:1196:10: note: in expansion of macro 'N_NEW' edges = N_NEW(e_cnt,edge_t*); ^~~~~ routespl.c: In function 'makeStraightEdges': routespl.c:1208: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 */ ^~~~~ htmltable.c: In function 'size_html_txt': htmltable.c:1016:23: warning: 'mxysize' may be used uninitialized in this function [-Wmaybe-uninitialized] double maxoffset, mxysize; ^~~~~~~ CC splines.lo CC psusershape.lo CC ns.lo CC labels.lo CC timing.lo CC shapes.lo In file included from render.h:44, from splines.c:19: splines.c: In function 'new_spline': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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 '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) { ^~~~~~ 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) ^~~~~~~~~~~ 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 from 'double' to 'int' may change 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) ~~~~~~~^~ CC utils.lo psusershape.c: In function 'ps_image_free': psusershape.c:26:36: warning: unused parameter 'dict' [-Wunused-parameter] static void ps_image_free(Dict_t * dict, usershape_t * p, Dtdisc_t * disc) ~~~~~~~~~^~~~ psusershape.c:26:70: warning: unused parameter 'disc' [-Wunused-parameter] static void ps_image_free(Dict_t * dict, usershape_t * p, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ In file included from ../../lib/cgraph/cgraph.h:18, from types.h:39, from render.h:40, from psusershape.c:20: psusershape.c: In function 'user_init': ../../lib/cdt/cdt.h:261: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, from psusershape.c:20: memory.h:39:41: warning: conversion to 'long unsigned int' from '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:30: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] rc = fread(contents, statbuf.st_size, 1, fp); ^~~~~ psusershape.c:89:20: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change 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, from psusershape.c:20: types.h:106:7: note: shadowed declaration is here } path; ^~~~ In file included from render.h:44, from labels.c:15: labels.c: In function 'storeline': labels.c:28:35: warning: conversion to 'size_t' {aka '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 '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 '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 '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 '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bufsize); ^~~~~~~ In file included from render.h:44, from ns.c:19: ns.c: In function 'feasible_tree': memory.h:36:41: warning: conversion to '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:504:10: note: in expansion of macro 'N_NEW' tree = N_NEW(N_nodes,subtree_t*); ^~~~~ ns.c: In function 'freeTreeList': ns.c:640:24: warning: unused parameter 'g' [-Wunused-parameter] freeTreeList (graph_t* g) ~~~~~~~~~^ In file included from render.h:44, from ns.c:19: ns.c: In function 'TB_balance': memory.h:36:41: warning: conversion to '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:693:13: note: in expansion of macro 'N_NEW' nrank = N_NEW(Maxrank + 1, int); ^~~~~ ns.c:708:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(Tree_node.list, Tree_node.size, sizeof(Tree_node.list[0]), ~~~~~~~~~^~~~~ ns.c:709:37: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] adj > 1? decreasingrankcmpf : increasingrankcmpf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from render.h:27, from ns.c:19: /usr/include/stdlib.h:828:20: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(node_t **, node_t **)' {aka 'int (*)(struct Agnode_s **, struct Agnode_s **)'} __compar_fn_t __compar) __nonnull ((1, 4)); ~~~~~~~~~~~~~~^~~~~~~~ In file included from render.h:44, from ns.c:19: ns.c: In function 'init_graph': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:769: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 'unsigned int' from 'int' may change 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:769: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 'unsigned int' from 'int' may change 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:771: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 'unsigned int' from 'int' may change 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:771: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 '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:785: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 '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:788: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:827:5: warning: no previous prototype for 'rank2' [-Wmissing-prototypes] int rank2(graph_t * g, int balance, int maxiter, int search_size) ^~~~~ 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, 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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:153: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ ns.c:538:12: warning: 'ed_minlen' defined but not used [-Wunused-function] static int ed_minlen(Agedge_t *e) {return ED_minlen(e);} ^~~~~~~~~ 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}; ^~~~~~ ns.c:537:12: warning: 'nd_rank' defined but not used [-Wunused-function] static int nd_rank(Agnode_t *n) {return ND_rank(n);} ^~~~~~~ In file included from render.h:40, from shapes.c:14: types.h:154:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ ns.c:536:12: warning: 'nd_priority' defined but not used [-Wunused-function] static int nd_priority(Agnode_t *n) {return ND_priority(n);} ^~~~~~~~~~~ ns.c:535:19: warning: 'nd_subtree' defined but not used [-Wunused-function] static subtree_t *nd_subtree(Agnode_t *n) {return ND_subtree(n);} ^~~~~~~~~~ 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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:154: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192: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, from shapes.c:14: types.h:192:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c: In function 'quant': shapes.c:311:9: warning: conversion from 'double' to 'int' may change 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, from shapes.c:14: shapes.c: In function 'round_corners': memory.h:36:41: warning: conversion to '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 '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 from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] gvrender_beziercurve(job, pts+1, i-1, FALSE, FALSE, filled); ^~~~~~ In file included from render.h:44, from shapes.c:14: memory.h:36:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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, from shapes.c:14: memory.h:36:41: warning: conversion to '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 '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 from 'int' to 'unsigned char' may change value [-Wconversion] pp->side = side; ^~~~ shapes.c:2714:13: warning: conversion from 'int' to 'unsigned char' may change 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 from 'int' to 'unsigned char' may change value [-Wconversion] pp->order = (int) ((MC_SCALE * angle) / (2 * M_PI)); ^ In file included from render.h:44, from shapes.c:14: shapes.c: In function 'poly_gencode': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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:3009:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((w == MAXDOUBLE) && (h == MAXDOUBLE)) /* neither defined */ ^~ shapes.c:3009: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, from shapes.c:14: memory.h:36:41: warning: conversion to '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:3028: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 'unsigned int' from 'int' may change 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:3116:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:3116:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ shapes.c: In function 'parse_error': shapes.c:3218: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, from shapes.c:14: types.h:83:7: note: shadowed declaration is here } port; ^~~~ In file included from render.h:44, from shapes.c:14: shapes.c: In function 'parse_reclbl': memory.h:36:41: warning: conversion to '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:3252:15: note: in expansion of macro 'N_NEW' rv->fld = N_NEW(maxf, field_t *); ^~~~~ shapes.c:3253:14: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] rv->LR = LR; ^~ shapes.c: In function 'pos_reclbl': shapes.c:3466:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] f->sides = sides; ^~~~~ shapes.c: At top level: shapes.c:3503:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ shapes.c: In function 'record_init': shapes.c:3547:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(reclblp); ^~~~~~ In file included from render.h:44, from shapes.c:14: memory.h:36:41: warning: conversion to '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:3552:15: note: in expansion of macro 'N_NEW' textbuf = N_NEW(len + 1, char); ^~~~~ shapes.c: In function 'record_path': shapes.c:3672:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ls = info->fld[i]->b.LL.x; ^~~~ shapes.c:3673:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] rs = info->fld[i]->b.UR.x; ^~~~ shapes.c:3675:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ls = info->fld[i]->b.LL.y; ^~~~ shapes.c:3676:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] rs = info->fld[i]->b.UR.y; ^~~~ In file included from render.h:44, from shapes.c:14: shapes.c: In function 'user_shape': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:3823:17: note: in expansion of macro 'ALLOC' UserShape = ALLOC(N_UserShape, UserShape, shape_desc *); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:3823:17: note: in expansion of macro 'ALLOC' UserShape = ALLOC(N_UserShape, UserShape, shape_desc *); ^~~~~ shapes.c: In function 'cylinder_draw': shapes.c:4077:56: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] gvrender_beziercurve(job, AF, sides, FALSE, FALSE, filled); ^~~~~~ shapes.c:4058: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:4102:5: warning: switch missing default case [-Wswitch-default] switch (rankdir) { ^~~~~~ shapes.c: In function 'closestSide': shapes.c:4169:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = b.LL.y; ^ shapes.c:4170:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = (b.LL.x + b.UR.x) / 2; ^ shapes.c:4173:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = b.UR.x; ^ shapes.c:4174:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = (b.LL.y + b.UR.y) / 2; ^ shapes.c:4177:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = b.UR.y; ^ shapes.c:4178:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = (b.LL.x + b.UR.x) / 2; ^ shapes.c:4181:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.x = b.LL.x; ^ shapes.c:4182:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p.y = (b.LL.y + b.UR.y) / 2; ^ shapes.c:4167:2: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ shapes.c: At top level: shapes.c:4218:6: warning: no previous prototype for 'gv_initShapes' [-Wmissing-prototypes] void gv_initShapes(void) ^~~~~~~~~~~~~ CC geom.lo shapes.c: In function 'parse_reclbl': shapes.c:3332:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(reclblp + 1)) { ^ shapes.c:3344:2: note: here default: ^~~~~~~ In file included from render.h:44, from utils.c:14: utils.c: In function 'new_queue': memory.h:36:41: warning: conversion to '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:40:36: note: in expansion of macro 'N_NEW' q->head = q->tail = q->store = N_NEW(sz, node_t *); ^~~~~ utils.c: In function 'get_inputscale': utils.c:118: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:140:9: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] return def; ^~~ utils.c: In function 'Fgets': utils.c:293:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bsize); ^~~~~ utils.c:298:6: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] len += strlen(lp); /* since lp != NULL, len > 0 */ ^~ utils.c:298:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len += strlen(lp); /* since lp != NULL, len > 0 */ ^~~~~~ In file included from render.h:44, from utils.c:14: utils.c: In function 'mkDirlist': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:348:9: note: in expansion of macro 'ALLOC' dirs = ALLOC (cnt+2,dirs,char*); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:348:9: note: in expansion of macro 'ALLOC' dirs = ALLOC (cnt+2,dirs,char*); ^~~~~ In file included from geom.h:20, from types.h:35, from render.h:40, from utils.c:14: arith.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:350:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:40:27: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^~~ utils.c:350:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:40:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:350:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:40:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:350:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:40:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:350:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ utils.c: In function 'findPath': utils.c:366:53: warning: conversion to 'size_t' {aka '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:467:9: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] return atoi(p); ^~~~~~~ utils.c: In function 'gvToggle': utils.c:610:19: warning: unused parameter 's' [-Wunused-parameter] void gvToggle(int s) ~~~~^ utils.c: In function 'common_init_node': utils.c:652:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ND_showboxes(n) = late_int(n, N_showboxes, 0, 0); ^~~~~~~~ utils.c: In function 'common_init_edge': utils.c:731: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:928:2: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ utils.c: In function 'newItem': utils.c:1007: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:1022:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ~~~~~~~^ utils.c:1022:55: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ utils.c: In function 'undoClusterEdges': utils.c:1301:14: warning: declaration of 'elist' shadows a global declaration [-Wshadow] edge_t **elist; ^~~~~ In file included from render.h:40, from utils.c:14: types.h:264:7: note: shadowed declaration is here } elist; ^~~~~ In file included from render.h:44, from utils.c:14: memory.h:36:41: warning: conversion to '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:1308:13: note: in expansion of macro 'N_NEW' elist = N_NEW(ecnt, edge_t*); ^~~~~ utils.c: In function 'comp_entities': utils.c:1342: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:1342: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:1362:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy (buf, t, len); ^~~ utils.c: In function 'htmlEntity': utils.c:1407:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] n = (n * 16) + byte; ^ utils.c:1407:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] n = (n * 16) + byte; ^ utils.c:1414:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] n = (n * 10) + (byte - '0'); ^ utils.c:1414:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] n = (n * 10) + (byte - '0'); ^ utils.c:1441:13: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *p++ = byte; ^~~~ utils.c: In function 'cvtAndAppend': utils.c:1456:14: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] buf[0] = c; ^ utils.c:1460:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s); ^~~~~~ utils.c:1463: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:1520:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = htmlEntity (&s); ^~~~~~~~~~ utils.c:1523:8: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] c = v; ^ utils.c:1526:8: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] c = (v & 0x3F) | 0x80; ^ In file included from render.h:47, from utils.c:14: ../../lib/cgraph/agxbuf.h:77:92: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1530:4: note: in expansion of macro 'agxbputc' agxbputc(&xb, ((v >> 6) & 0x3F) | 0x80); ^~~~~~~~ utils.c:1531:8: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] c = (v & 0x3F) | 0x80; ^ utils.c: In function 'latin1ToUTF8': utils.c:1575: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, from utils.c:14: ../../lib/cgraph/agxbuf.h:77:92: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1582:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, (v & 0x3F) | 0x80); ^~~~~~~~ ../../lib/cgraph/agxbuf.h:77:92: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1586:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, ((v >> 6) & 0x3F) | 0x80); ^~~~~~~~ ../../lib/cgraph/agxbuf.h:77:92: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1587:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, (v & 0x3F) | 0x80); ^~~~~~~~ utils.c: In function 'utf8ToLatin1': utils.c:1615:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] outc = (c & 0x03) << 6; ^ utils.c:1617:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] outc = outc | (c & 0x3F); ^~~~ utils.c: In function 'edgeType': utils.c:1719:5: warning: switch missing default case [-Wswitch-default] switch (*s) { ^~~~~~ utils.c: In function 'setEdgeType': utils.c:1814:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] GD_flags(g) |= et; ^~ utils.c: In function 'free_clust': utils.c:2019:31: warning: unused parameter 'dt' [-Wunused-parameter] static void free_clust (Dt_t* dt, clust_t* clp, Dtdisc_t* disc) ~~~~~~^~ utils.c:2019:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_clust (Dt_t* dt, clust_t* clp, Dtdisc_t* disc) ~~~~~~~~~~^~~~ CC taper.lo geom.c: In function 'lineToBox': geom.c:116:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x == q.x) { ^~ geom.c:126:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p.y == q.y) { ^~ CC output.lo In file included from taper.c:24: taper.c: In function 'addto': ./memory.h:42:58: warning: conversion to '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: taper.c: In function 'insertArr': ./memory.h:42:58: warning: conversion to '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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] l = mymod(i-1,pathcount); ^~~~~ taper.c:293:6: warning: conversion from 'double' to 'int' may change 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) ^~~~~~ ns.c: In function 'rank2': ns.c:829:9: warning: variable 'iter' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int iter = 0, feasible; ^~~~ output.c: In function 'agputc': output.c:39:14: warning: conversion from 'int' to 'char' may change 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, from output.c:14: types.h:83:7: note: shadowed declaration is here } port; ^~~~ CC emit.lo 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; ^ In file included from render.h:40, from emit.c:23: emit.c: In function 'initMapData': types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-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, from emit.c:23: emit.c: In function 'map_point': memory.h:36:41: warning: conversion to '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 '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 from 'double' to 'float' may change value [-Wfloat-conversion] s[cnum++].t = v; ^ emit.c:537:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s[i].t == 0) nseg++; ^~ emit.c:542:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s[i].t == 0) s[i].t = delta; ^~ emit.c:542:29: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] if (s[i].t == 0) s[i].t = delta; ^~~~~ emit.c:546:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] s[cnum-1].t += left; ^~~~ emit.c: In function 'wedgedEllipse': emit.c:596:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s->t == 0) continue; ^~ emit.c: In function 'stripedBox': emit.c:656:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s->t == 0) continue; ^~ In file included from render.h:44, from emit.c:23: emit.c: In function 'emit_map_rect': memory.h:36:41: warning: conversion to '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:688: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 '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:714: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:731:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && p->distortion == 0.0 && p->skew == 0.0); ^~ emit.c:731: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, from emit.c:23: emit.c: In function 'pEllipse': memory.h:36:41: warning: conversion to '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:767:10: note: in expansion of macro 'N_NEW' ps = N_NEW(np, pointf); ^~~~~ emit.c: At top level: emit.c:832:6: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if (DEBUG==2) ^~~~~ emit.c: In function 'map_bspline_poly': emit.c:872:45: warning: conversion to '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:874:44: warning: conversion to '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:880:6: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if (DEBUG==2) ^~~~~ emit.c: In function 'selectedLayer': emit.c:1066:2: warning: switch missing default case [-Wswitch-default] switch ((w0 != NULL) + (w1 != NULL)) { ^~~~~~ In file included from render.h:44, from emit.c:23: emit.c: In function 'parse_layerselect': memory.h:39:41: warning: conversion to '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:1116:20: note: in expansion of macro 'N_GNEW' int* laylist = N_GNEW(gvc->numLayers+2,int); ^~~~~~ emit.c:1114: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, from emit.c:23: emit.c: In function 'parse_layers': memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:1169:29: note: in expansion of macro 'ALLOC' gvc->layerIDs = ALLOC(sz, gvc->layerIDs, char *); ^~~~~ memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:1169:29: note: in expansion of macro 'ALLOC' gvc->layerIDs = ALLOC(sz, gvc->layerIDs, char *); ^~~~~ memory.h:42:58: warning: conversion to '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:1174: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:1286:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ In file included from geom.h:20, from types.h:35, from render.h:40, from emit.c:23: emit.c: In function 'init_job_pagination': arith.h:84: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:18: note: in expansion of macro 'ROUND' job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / POINTS_PER_INCH); ^~~~~ arith.h:84: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:18: note: in expansion of macro 'ROUND' job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / POINTS_PER_INCH); ^~~~~ arith.h:84: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:1373:19: note: in expansion of macro 'ROUND' job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / POINTS_PER_INCH); ^~~~~ arith.h:84: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:1373: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, from emit.c:23: emit.c: In function 'copyPts': memory.h:42:58: warning: conversion to '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:1487:8: note: in expansion of macro 'RALLOC' pts = RALLOC(sz, pts, pointf); ^~~~~~ emit.c: In function 'emit_xdot': emit.c:1533:100: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] gvrender_beziercurve(job, pts, op->op.u.bezier.cnt, 0, 0, (op->op.kind == xd_filled_bezier?filled:0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ emit.c:1567:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->x1 == p->x0) && (p->y1 == p->y0)) ^~ emit.c:1567:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->x1 == p->x0) && (p->y1 == p->y0)) ^~ emit.c:1511:2: warning: switch missing default case [-Wswitch-default] switch (op->op.kind) { ^~~~~~ emit.c: In function 'setup_page': emit.c:1668: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:1761: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:1801:12: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] return boxf_overlap(ND_bb(n), b); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from render.h:44, from emit.c:23: emit.c: In function 'emit_begin_node': memory.h:36:41: warning: conversion to '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:1878:21: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c:1882: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:1882: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, from emit.c:23: memory.h:36:41: warning: conversion to '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:1886:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to '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:1913:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to '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:1920:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to '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:1934:17: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c: In function 'emit_node': emit.c:1972:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] ND_state(n) = gvc->common.viewNum; /* mark node as drawn */ ^~~ emit.c: In function 'default_pencolor': emit.c:2071:16: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] len = ncol * (strlen(deflt) + 1); ^ emit.c:2071:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = ncol * (strlen(deflt) + 1); ^~~~ emit.c:2074:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsz); ^~~~~ In file included from render.h:44, from emit.c:23: emit.c: In function 'splitBSpline': memory.h:36:41: warning: conversion to '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:2120:12: note: in expansion of macro 'N_NEW' lens = N_NEW(cnt, double); ^~~~~ memory.h:36:41: warning: conversion to '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:2137:18: note: in expansion of macro 'N_NEW' left->list = N_NEW(left->size,pointf); ^~~~~ memory.h:36:41: warning: conversion to '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:2139:19: note: in expansion of macro 'N_NEW' right->list = N_NEW(right->size,pointf); ^~~~~ emit.c:2147:9: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] r = (len - (sum - last))/last; ^ emit.c: In function 'multicolor': emit.c:2208:29: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] splitBSpline (&bz0, (s->t)/(left+s->t), &bz_l, &bz_r); ~~~~~~^~~~~~~~~~~~ emit.c: In function 'nonefunc': emit.c:2256:32: warning: unused parameter 'curlen' [-Wunused-parameter] static double nonefunc (double curlen, double totallen, double initwid) ~~~~~~~^~~~~~ emit.c:2256: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:2380:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] offspl.list = malloc(sizeof(bezier) * offspl.size); ^ emit.c:2381:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmpspl.list = malloc(sizeof(bezier) * tmpspl.size); ^ emit.c:2386:57: warning: conversion to '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:2387:57: warning: conversion to '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, from emit.c:23: emit.c: In function 'emit_begin_edge': types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2543:26: note: in expansion of macro 'TRUE' obj->labeledgealigned = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2599:37: note: in expansion of macro 'TRUE' obj->explicit_tailurl = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2605:37: note: in expansion of macro 'TRUE' obj->explicit_headurl = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2615:33: note: in expansion of macro 'TRUE' obj->explicit_edgetarget = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2626:33: note: in expansion of macro 'TRUE' obj->explicit_tailtarget = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2631:33: note: in expansion of macro 'TRUE' obj->explicit_headtarget = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2644:30: note: in expansion of macro 'TRUE' obj->explicit_tooltip = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2653:35: note: in expansion of macro 'TRUE' obj->explicit_labeltooltip = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2662:34: note: in expansion of macro 'TRUE' obj->explicit_tailtooltip = TRUE; ^~~~ types.h:26:16: warning: conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2671:34: note: in expansion of macro 'TRUE' obj->explicit_headtooltip = TRUE; ^~~~ emit.c: In function 'nodeIntersect': emit.c:2773:38: warning: unused parameter 'itooltip' [-Wunused-parameter] boolean explicit_itooltip, char* itooltip, ~~~~~~^~~~~~~~ emit.c:2774:13: warning: unused parameter 'explicit_itarget' [-Wunused-parameter] boolean explicit_itarget, char* itarget) ~~~~~~~~^~~~~~~~~~~~~~~~ emit.c:2774:37: warning: unused parameter 'itarget' [-Wunused-parameter] boolean explicit_itarget, char* itarget) ~~~~~~^~~~~~~ emit.c: In function 'emit_end_edge': emit.c:2856:28: 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:2857:9: 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:2858:9: 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:2866:28: 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:2867:9: 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:2868:9: 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:2982:5: warning: switch missing default case [-Wswitch-default] switch (span->just) { ^~~~~~ emit.c: In function 'xdotBB': emit.c:3025: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:3025: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:3062:17: warning: conversion from 'int' to 'unsigned char:7' may change value [-Wconversion] tf.flags = fontflags; ^~~~~~~~~ emit.c:3077: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:3203: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:3247:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (sz.x == 0) sz.x = size.x; ^~ emit.c:3248: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:3465: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, from emit.c:23: emit.c: In function 'emit_page': memory.h:36:41: warning: conversion to '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:3512:10: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c: In function 'free_string_entry': emit.c:3606:40: warning: unused parameter 'dict' [-Wunused-parameter] static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc) ~~~~~~~~~^~~~ emit.c:3606: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:3635:6: warning: no previous prototype for 'emit_once_reset' [-Wmissing-prototypes] void emit_once_reset(void) ^~~~~~~~~~~~~~~ CCLD libcommon_C.la make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' Making all in pack make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' CC ccomps.lo CC pack.lo pack.c: In function 'cmpf': pack.c:101:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ginfo *x = *(ginfo **) X; ^ pack.c:102:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ginfo *y = *(ginfo **) Y; ^ pack.c: At top level: pack.c:112:6: warning: no previous prototype for 'fillLine' [-Wmissing-prototypes] void fillLine(pointf p, pointf q, PointSet * ps) ^~~~~~~~ pack.c: In function 'genBox': pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:251:9: note: in expansion of macro 'GRID' W = GRID(bb0.UR.x - bb0.LL.x + 2 * margin, ssize); ^~~~ pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:252:9: note: in expansion of macro 'GRID' H = GRID(bb0.UR.y - bb0.LL.y + 2 * margin, ssize); ^~~~ pack.c: In function 'genPoly': pack.c:292:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] int margin = pinfo->margin; ^~~~~ In file included from ../../lib/common/render.h:44, from pack.c:22: ../../lib/common/memory.h:39:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] s2.x = margin + ND_xsize(n) / 2; ^~~~~~ pack.c:347:10: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] s2.y = margin + ND_ysize(n) / 2; ^~~~~~ pack.c:382:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] s2.x = margin + ND_xsize(n) / 2; ^~~~~~ pack.c:383:13: warning: conversion from 'double' to 'int' may change 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 from 'double' to 'int' may change value [-Wfloat-conversion] W = ceil(bb.UR.x - bb.LL.x); ^~~~ pack.c:508:9: warning: conversion from 'double' to 'int' may change 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, from pack.c:22: pack.c: In function 'arrayRects': ../../lib/common/memory.h:36:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] nr = ceil(sqrt(ng)); ^~~~ pack.c:645:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] nc = ceil(sqrt(ng)); ^~~~ ccomps.c: In function 'markFn': ccomps.c:158:18: warning: conversion from 'int' to 'char' may change value [-Wconversion] ND_mark(n) = v; ^ In file included from ../../lib/common/render.h:44, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ ccomps.c: In function 'setPrefix': ccomps.c:173:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(pfx); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ ccomps.c:177:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (!(name = (char *) gmalloc(len + 25))) return NULL; ~~~~^~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(sinfo, ng, sizeof(ainfo *), ucmpf); ^~ In file included from ../../lib/common/render.h:44, from ccomps.c:17: ccomps.c: In function 'pccomps': ../../lib/common/memory.h:39:41: warning: conversion to '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 *); ^~~~~~ pack.c:672:15: warning: conversion to 'size_t' {aka '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 from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].x = widths[c]; ^~~~~~ pack.c:710:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].x = widths[c+1] - (bb.UR.x - bb.LL.x); ^~~~~~ pack.c:712:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].x = (widths[c] + widths[c+1] - bb.UR.x - bb.LL.x)/2.0; ^ ../../lib/common/memory.h:42:58: warning: conversion to '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 *); ^~~~~~ pack.c:714:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].y = heights[r] - (bb.UR.y - bb.LL.y); ^~~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to '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 *); ^~~~~~ pack.c:716:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].y = heights[r+1]; ^~~~~~~ pack.c:718:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] places[idx].y = (heights[r] + heights[r+1] - bb.UR.y - bb.LL.y)/2.0; ^ ccomps.c: In function 'ccomps': ../../lib/common/memory.h:39:41: warning: conversion to '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 *); ^~~~~~ pack.c: In function 'polyRects': pack.c:741:41: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize = computeStep(ng, gs, pinfo->margin); ~~~~~^~~~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to '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 '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 *); ^~~~~~ In file included from ../../lib/common/render.h:44, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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:41: 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, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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 '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, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize, pinfo->margin, gs); ~~~~~^~~~~~~~ ccomps.c: In function 'clMarkFn': ccomps.c:491:17: warning: conversion from 'int' to 'char' may change 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, from pack.c:22: pack.c: In function 'polyGraphs': ../../lib/common/memory.h:39:41: warning: conversion to '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:42: 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, from ccomps.c:17: ccomps.c: In function 'cccomps': ../../lib/common/memory.h:39:41: warning: conversion to '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 *); ^~~~~~ In file included from ../../lib/common/render.h:44, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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:48: 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, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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 *); ^~~~~ ../../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 *); ^~~~~~ pack.c:880:18: warning: conversion to 'size_t' {aka '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, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize, pinfo->margin, bbs); ~~~~~^~~~~~~~ pack.c:898:25: 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, from pack.c:22: pack.c: In function 'putGraphs': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~~ 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; ^~~ CCLD libpack_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' Making all in xdot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' CC xdot.lo xdot.c: In function 'agxbmore': 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 of integer expressions of different signedness: 'unsigned int' and 'int' [-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:60:26: warning: conversion to 'size_t' {aka '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 '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 '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: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 '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:227:17: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] xdot.c:19:37: #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ~~~ xdot.c:227:17: c = N_NEW(i + 1, char); xdot.c:19:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c: In function 'parseXDotFOn': xdot.c:446:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (sz <= sizeof(xdot_op)) ^~ xdot.c:457:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) calloc(XDBSIZE, sz); ^~ xdot.c:462:36: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) realloc(ops, bufsz * sz); ~~~~~~^~~~ xdot.c:463:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memset(ops + (initcnt*sz), '\0', (bufsz - initcnt)*sz); ~~~~~~~~~~~~~~~~~^~~ xdot.c:470:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) realloc(ops, bufsz * sz); ~~~~~~^~~~ xdot.c:471:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memset(ops + (oldsz*sz), '\0', (bufsz - oldsz)*sz); ~~~~~~~~~~~~~~~^~~ xdot.c:479:43: warning: conversion to 'size_t' {aka '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:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ling.x0, gradprint, xb, 0); ~~~~~~~~~~^~~ xdot.c:617:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ling.y0, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:618:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ling.x1, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:619:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ling.y1, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:625:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.x0, gradprint, xb, 0); ~~~~~~~~~~^~~ xdot.c:626:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.y0, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:627:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.r0, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:628:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.x1, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:629:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.y1, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c:630:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat (cp->u.ring.r1, gradprint, xb, 1); ~~~~~~~~~~^~~ xdot.c: In function 'printXDot_Op': xdot.c:703:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.x, print, info); ~~~~~~~~~~^~ xdot.c:704:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.y, print, info); ~~~~~~~~~~^~ xdot.c:706:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.width, print, info); ~~~~~~~~~~^~~~~~ xdot.c:711:23: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat(op->u.font.size, print, info, 1); ~~~~~~~~~~^~~~~ xdot.c:716:16: 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:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.x, print, info); ~~~~~~~~~~^~ xdot.c:830:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.y, print, info); ~~~~~~~~~~^~ xdot.c:834:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] printInt(op->u.text.width, print, info); ~~~~~~~~~~^~~~~~ xdot.c:842:23: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] printFloat(op->u.font.size, print, info, 1); ~~~~~~~~~~^~~~~ xdot.c:849:16: 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: In function 'sprintXDot': xdot.c:887:19: warning: cast between incompatible function types from 'int (*)(char *, agxbuf *)' {aka 'int (*)(char *, struct *)'} to 'void (*)(char *, void *)' [-Wcast-function-type] _printXDot(x, (pf) agxbput, &xb, printXDot_Op); ^ xdot.c: In function 'fprintXDot': xdot.c:896:19: warning: cast between incompatible function types from 'int (*)(const char * restrict, FILE * restrict)' {aka 'int (*)(const char * restrict, struct _IO_FILE * restrict)'} to 'void (*)(char *, void *)' [-Wcast-function-type] _printXDot(x, (pf) fputs, fp, printXDot_Op); ^ xdot.c: In function 'jsonXDot': xdot.c:902:19: warning: cast between incompatible function types from 'int (*)(const char * restrict, FILE * restrict)' {aka 'int (*)(const char * restrict, struct _IO_FILE * restrict)'} to 'void (*)(char *, void *)' [-Wcast-function-type] _printXDot(x, (pf) fputs, fp, jsonXDot_Op); ^ 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:1074:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] xdot.c:19:37: #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ~~~ xdot.c:1074:30: stops = N_NEW(clr->u.ring.n_stops,xdot_color_stop); xdot.c:19:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:1078:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] stops[i].frac = d; ^ xdot.c: In function 'linGradient': xdot.c:1111:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] xdot.c:19:37: #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ~~~ xdot.c:1111:30: stops = N_NEW(clr->u.ling.n_stops,xdot_color_stop); xdot.c:19:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:1115:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] stops[i].frac = d; ^ CCLD libxdot.la CCLD libxdot_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' Making all in label make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' CC index.lo CC xlabels.lo CC node.lo CC rectangle.lo CC split.q.lo split.q.c: In function 'SplitNode': split.q.c:76:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] area = RectArea(&p->cover[0]) + RectArea(&p->cover[1]); ^~~~~~~~ split.q.c:80:58: warning: conversion from 'int' to 'float' may change 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]); ^~~~~~~~ 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 from 'long long int' to 'unsigned int' may change value [-Wconversion] area = a_test; ^~~~~~ node.c: In function 'PickBranch': index.c:63:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ 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; ^ index.c: In function 'RTreeReInsert': node.c:134:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] increase = RectArea(&rect) - area; ^~~~~~~~ index.c:73:36: warning: unused parameter 'rtp' [-Wunused-parameter] static int RTreeReInsert(RTree_t * rtp, Node_t * n, struct ListNode **ee) ~~~~~~~~~~^~~ 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:41: warning: conversion from 'double' to 'unsigned int' may change 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: 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 from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[0] = op->pos.x; ^~ xlabels.c:233:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[1] = op->pos.y; ^~ xlabels.c:234:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[2] = op->pos.x + op->sz.x; ^~ xlabels.c:235:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[3] = op->pos.y + op->sz.y; ^~ xlabels.c: In function 'objplp2rect': xlabels.c:243:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[0] = lp->pos.x; ^~ xlabels.c:244:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[1] = lp->pos.y; ^~ xlabels.c:245:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] r->boundary[2] = lp->pos.x + lp->sz.x; ^~ xlabels.c:246:22: warning: conversion from 'double' to 'int' may change 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) { ^~ CCLD liblabel_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' Making all in gvc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' CC gvrender.lo CC gvlayout.lo CC gvdevice.lo CC gvloadimage.lo CC gvcontext.lo CC gvjobs.lo gvdevice.c:42:11: warning: conversion from 'int' to 'char' changes value from '139' to '-117' [-Wconversion] {0x1f, 0x8b, /*magic*/ Z_DEFLATED, 0 /*flags*/, 0,0,0,0 /*time*/, 0 /*xflags*/, OS_CODE}; ^~~~ 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; ^~ gvlayout.c: In function 'gvFreeLayout': gvlayout.c:102:26: warning: unused parameter 'gvc' [-Wunused-parameter] int gvFreeLayout(GVC_t * gvc, Agraph_t * g) ~~~~~~~~^~~ gvrender.c: In function 'gvrender_comparestr': gvrender.c:188:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp(*(char **) s1, *(char **) s2); ^ gvrender.c:188:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp(*(char **) s1, *(char **) s2); ^ gvrender.c: In function 'gvrender_resolve_color': gvrender.c:210:41: warning: conversion to 'size_t' {aka '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:228: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:304: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:314: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:364: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:384: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:551: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:591:32: warning: conversion to '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:631:32: warning: conversion to '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:652:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] AF = grealloc(AF, sizeAF * sizeof(pointf)); ^ CC gvevent.lo gvdevice.c: In function 'gvwrite_no_z': gvdevice.c:64:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (job->gvc->write_fn)(job, (char*)s, len); ^ gvdevice.c:68:72: warning: conversion to '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:68:86: warning: conversion to '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: In function 'gvwrite': gvdevice.c:209:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] dfallocated = (dflen + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:209:45: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] dfallocated = (dflen + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:217:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] crc = crc32(crc, (unsigned char*)s, len); ^ gvdevice.c:217:14: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'uLong' {aka 'long unsigned int'} may change value [-Wconversion] crc = crc32(crc, (unsigned char*)s, len); ^~~ gvjobs.c: In function 'gv_argvlist_set_item': gvjobs.c:114:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list->argv = grealloc(list->argv, (list->alloc)*(sizeof(char*))); ^ gvdevice.c:219:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] z->next_in = (unsigned char*)s; ^ gvdevice.c:224:10: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ret=deflate (z, Z_NO_FLUSH); ^~~~~~~ gvdevice.c:230:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((olen = z->next_out - df)) { ^ gvdevice.c: In function 'gvputc': gvdevice.c:283:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] const char cc = c; ^ gvdevice.c: In function 'gvdevice_finalize': gvdevice.c:341:47: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] gvwrite_no_z(job, (char*)df, z->next_out - df); ~~~~~~~~~~~~^~~~ gvdevice.c:349:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] gvwrite_no_z(job, (char*)df, z->next_out - df); ~~~~~~~~~~~~^~~~ gvdevice.c:356:11: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[0] = crc; ^~~ gvdevice.c:357:11: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[1] = crc >> 8; ^~~ gvdevice.c:358:11: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[2] = crc >> 16; ^~~ gvdevice.c:359:11: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[3] = crc >> 24; ^~~ gvdevice.c:360:11: warning: conversion from 'uLong' {aka 'long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[4] = z->total_in; ^ gvdevice.c:361:11: warning: conversion from 'uLong' {aka 'long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[5] = z->total_in >> 8; ^ gvdevice.c:362:11: warning: conversion from 'uLong' {aka 'long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[6] = z->total_in >> 16; ^ gvdevice.c:363:11: warning: conversion from 'uLong' {aka 'long unsigned int'} to 'unsigned char' may change value [-Wconversion] out[7] = z->total_in >> 24; ^ gvdevice.c: In function 'gvprintf': gvdevice.c:408:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] bp = gmalloc(len + 1); ~~~~^~~ gvdevice.c:418:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] gvwrite(job, bp, len); ^~~ gvdevice.c: In function 'gvprintnum': gvdevice.c:465:13: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] N = number - 0.5; ^~~~~~ gvdevice.c:467:13: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] N = number + 0.5; ^~~~~~ gvdevice.c:484:25: warning: conversion from 'int' to 'char' may change value [-Wconversion] *--result = digit | '0'; /* convert digit to ascii */ ^~~~~ gvdevice.c:498:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] *len = tmpbuf+sizeof(maxnegnumstr) - result; ^~~~~~ CC gvplugin.lo CC gvconfig.lo CC gvtool_tred.lo CC gvtextlayout.lo gvplugin.c: In function 'gvplugin_api': gvplugin.c:63:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvplugin.c: In function 'gvplugin_activate': gvplugin.c:138: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:31: ../../lib/common/types.h:106:7: note: shadowed declaration is here } path; ^~~~ gvplugin.c: In function 'gvplugin_library_load': gvplugin.c:158: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:31: ../../lib/common/types.h:106:7: note: shadowed declaration is here } path; ^~~~ gvplugin.c:175:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(libdir) + 1 + strlen(path) + 1; ^~~~~~ gvplugin.c:179:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] p = grealloc(p, lenp); ^~~~ gvplugin.c:181:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] p = gmalloc(lenp); ^~~~ gvplugin.c:205:62: 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:213:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s); ^~~~~~ gvplugin.c:217:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] if (len < strlen("/libgvplugin_x")) { ^ gvplugin.c:222:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] sym = gmalloc(len + strlen(suffix) + 1); ^ gvevent.c: In function 'gvevent_leave_obj': gvevent.c:230:37: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] GD_gui_state((graph_t*)obj) &= ~GUI_STATE_ACTIVE; ^ gvevent.c:233:36: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ND_gui_state((node_t*)obj) &= ~GUI_STATE_ACTIVE; ^ gvevent.c:236:36: warning: conversion from 'int' to 'unsigned char' may change 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)) { ^~~~~~ gvplugin.c: At top level: gvplugin.c:427: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:437:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvevent.c: In function 'gvevent_select_current_obj': In file included from gvplugin.c:30: ../../lib/common/memory.h:42:58: warning: conversion to '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:455:20: note: in expansion of macro 'RALLOC' list = RALLOC(cnt + 1, list, char *); ^~~~~~ gvevent.c:337:37: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] GD_gui_state((graph_t*)obj) &= ~GUI_STATE_SELECTED; ^ gvplugin.c:427:73: warning: unused parameter 'str' [-Wunused-parameter] char **gvPluginList(GVC_t * gvc, const char *kind, int *sz, const char *str) ~~~~~~~~~~~~^~~ gvevent.c:341:36: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ND_gui_state((node_t*)obj) &= ~GUI_STATE_SELECTED; ^ gvplugin.c: In function 'gvplugin_write_status': gvplugin.c:481:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvevent.c:345:36: warning: conversion from 'int' to 'unsigned char' may change 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': gvplugin.c: In function 'gvplugin_graph': gvplugin.c:532:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvevent.c:390:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] job->button = button; ^~~~~~ gvevent.c:395:16: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] job->button = button; ^~~~~~ gvevent.c:401:16: warning: conversion from 'int' to 'unsigned char' may change 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) ~~~~~~~^~~~~~~ gvplugin.c:711:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ 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) ~~~~~~~~^~~ CC gvusershape.lo CC gvc.lo gvconfig.c: In function 'gvplugin_package_record': gvconfig.c:93:72: warning: declaration of 'path' shadows a global declaration [-Wshadow] static gvplugin_package_t * gvplugin_package_record(GVC_t * gvc, char *path, char *name) ~~~~~~^~~~ In file included from gvconfig.c:54: ../../lib/common/types.h:106: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: ../../lib/common/types.h:106: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: ../../lib/common/types.h:106: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: ../../lib/common/types.h:106: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: ../../lib/common/types.h:106: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: ../../lib/common/types.h:106:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c:443:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < globbuf.gl_pathc; i++) { ^ gvconfig.c:453:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < globbuf.gl_pathc; i++) { ^ gvconfig.c: In function 'gvconfig': gvconfig.c:542:54: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] config_text = gmalloc(config_st.st_size + 1); ~~~~~~~~~~~~~~~~~~^~~ gvconfig.c:543:50: warning: conversion to 'size_t' {aka '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 'unsigned int'} may change the sign of the result [-Wsign-conversion] sz = fread(config_text, 1, config_st.st_size, f); ^~~~~ gvusershape.c: In function 'imagetype': gvusershape.c:92:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(knowntypes) / sizeof(knowntype_t); i++) { ^ gvusershape.c:93:64: warning: conversion to 'size_t' {aka '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 of integer expressions of different signedness: 'int' and 'unsigned int' [-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 of integer expressions of different signedness: 'int' and 'unsigned int' [-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, from ../../lib/common/types.h:35, from gvusershape.c:32: gvusershape.c: In function 'svg_units_convert': ../../lib/common/arith.h:84: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:84: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:84: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:84: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:84: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:84: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:84: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:84: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:84: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:84: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:84: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:84: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 from 'double' to 'unsigned int' may change value [-Wfloat-conversion] w = x1 - x0 + 1; ^~ gvusershape.c:228:7: warning: conversion from 'double' to 'unsigned int' may change 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:399:30: warning: conversion to 'long int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fseek (us->f, length - 2, SEEK_CUR); ~~~~~~~^~~ 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 from 'double' to 'int' may change value [-Wfloat-conversion] us->x = bb.LL.x; ^~ gvusershape.c:540:10: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] us->y = bb.LL.y; ^~ gvusershape.c:541:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] us->w = bb.UR.x - bb.LL.x; ^~ gvusershape.c:542:17: warning: conversion from 'double' to 'int' may change 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, from ../../lib/common/types.h:39, from gvusershape.c:32: gvusershape.c: In function 'gvusershape_find': ../../lib/cdt/cdt.h:261: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 from 'double' to 'int' may change value [-Wfloat-conversion] rv.x = us->w * POINTS_PER_INCH / dpi.x; ^~ gvusershape.c:721:9: warning: conversion from 'double' to 'int' may change 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) ^~~~~~~~~~~~~~~~ CCLD libgvc.la CCLD libgvc_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' Making all in ingraphs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' CC ingraphs.lo CCLD libingraphs_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' Making all in topfish make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' Making all in glcomp make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' Making all in mingle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' Making all in edgepaint make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' CC lab_gamut.lo CC edge_distinct_coloring.lo CC furtherest_point.lo CC intersection.lo CC lab.lo CC node_distinct_coloring.lo furtherest_point.c: In function 'furtherest_point': furtherest_point.c:89:48: warning: conversion to '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] qt->qts = MALLOC(sizeof(QuadTree)*(1<qts[ii]->center, sizeof(real)*dim); ^ furtherest_point.c:138:57: warning: conversion to '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates2 = REALLOC(candidates2, sizeof(QuadTree)*ncandidates2_max); ^ edge_distinct_coloring.c: In function 'splines_intersect': edge_distinct_coloring.c:38:27: warning: conversion to '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 '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 '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 '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 '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 '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){ ^~~~~~~~~~~~~~~~~~~~~~ lab.c: In function 'color_lab_init': lab.c:34:11: warning: conversion from 'double' to 'signed char' may change value [-Wfloat-conversion] lab.l = l; lab.a = a; lab.b = b; ^ lab.c:34:22: warning: conversion from 'double' to 'signed char' may change value [-Wfloat-conversion] lab.l = l; lab.a = a; lab.b = b; ^ lab.c:34:33: warning: conversion from 'double' to 'signed char' may change 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 from 'double' to 'signed char' may change value [-Wfloat-conversion] lab.l = color[0]; ^~~~~ lab.c:76:11: warning: conversion from 'double' to 'signed char' may change value [-Wfloat-conversion] lab.a = color[1]; ^~~~~ lab.c:77:11: warning: conversion from 'double' to 'signed char' may change 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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *colors0 = malloc(sizeof(double)*maxpoints*cdim); ^ intersection.c:65:6: warning: no previous prototype for 'point_line_distance' [-Wmissing-prototypes] real point_line_distance(real *p, real *q, real *r){ ^~~~~~~~~~~~~~~~~~~ lab.c: In function 'color_blend_rgb': lab.c:381:33: warning: conversion to '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){ ^~ intersection.c:111:6: warning: no previous prototype for 'intersection_angle' [-Wmissing-prototypes] real intersection_angle(real *p1, real *p2, real *q1, real *q2){ ^~~~~~~~~~~~~~~~~~ lab.c:401:32: warning: conversion to '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 */ ^~ 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]){ ^~ In file included from ../../lib/sparse/general.h:30, from node_distinct_coloring.c:10: node_distinct_coloring.c: In function 'node_distinct_coloring_internal2': ../../lib/common/arith.h:40:18: warning: conversion from 'double' to 'int' may change 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 '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 '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 '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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(&((*colors)[comps[j]*cdim]), &(ctmp[jj*cdim]), cdim*sizeof(real)); ^ CCLD libedgepaint_C.la CCLD liblab_gamut.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' Making all in circogen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' CC circularinit.lo CC nodelist.lo CC block.lo CC edgelist.lo CC circular.lo CC deglist.lo CC blocktree.lo edgelist.c: In function 'mkItem': edgelist.c:18:36: warning: unused parameter 'd' [-Wunused-parameter] static edgelistitem *mkItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ~~~~~~~^ edgelist.c:18:70: warning: unused parameter 'disc' [-Wunused-parameter] static edgelistitem *mkItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ edgelist.c: In function 'freeItem': edgelist.c:26:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ~~~~~~~^ edgelist.c:26:63: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ edgelist.c: In function 'cmpItem': edgelist.c:32:16: warning: unused parameter 'd' [-Wunused-parameter] cmpItem(Dt_t * d, Agedge_t ** key1, Agedge_t ** key2, Dtdisc_t * disc) ~~~~~~~^ edgelist.c:32:66: warning: unused parameter 'disc' [-Wunused-parameter] cmpItem(Dt_t * d, Agedge_t ** key1, Agedge_t ** key2, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ In file included from ../../lib/common/render.h:44, 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 '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 '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 '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) ^~~~~~~~ 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) ~~~~~~~^ nodelist.c: In function 'node_position': deglist.c:26:60: warning: unused parameter 'disc' [-Wunused-parameter] static degitem *mkItem(Dt_t * d, degitem * obj, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ nodelist.c:310:32: warning: unused parameter 'list' [-Wunused-parameter] int node_position(nodelist_t * list, Agnode_t * n) ~~~~~~~~~~~~~^~~~ 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) ~~~~~~~~~~~^~~~ circular.c: In function 'cleanup': circular.c:59:50: warning: unused parameter 'sp' [-Wunused-parameter] static void cleanup(block_t * root, circ_state * sp) ~~~~~~~~~~~~~^~ CC blockpath.lo CC circpos.lo CC nodeset.lo In file included from ../../lib/common/render.h:44, 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 '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 '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, from ./circular.h:17, from blockpath.h:21, from blockpath.c:15: ../../lib/common/types.h:106:7: note: shadowed declaration is here } path; ^~~~ 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) ^~~~~~~~~~~~ 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, from ./circular.h:17, from blockpath.h:21, from circpos.c:22: ../../lib/common/types.h:106:7: note: shadowed declaration is here } path; ^~~~ In file included from ../../lib/common/render.h:44, from ./circular.h:17, from blockpath.h:21, from circpos.c:22: ../../lib/common/memory.h:36:41: warning: conversion to '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) ^~~~~~~ CCLD libcircogen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' Making all in dotgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' CC acyclic.lo CC class2.lo CC class1.lo CC cluster.lo CC conc.lo CC compound.lo cluster.c: In function 'map_path': cluster.c:104:24: warning: conversion from 'int' to 'char' may change value [-Wconversion] ED_edge_type(e) = type; ^~~~ cluster.c:114:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] ED_edge_type(ve) = type; ^~~~ cluster.c:122:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] ED_edge_type(ve) = type; ^~~~ cluster.c:138:21: warning: conversion from 'int' to 'char' may change 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, from dot.h:18, from cluster.c:15: cluster.c: In function 'build_skeleton': ../../lib/common/memory.h:36:41: warning: conversion to '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, from dot.h:18, from cluster.c:15: ../../lib/common/const.h:157:19: warning: conversion from 'int' to 'short int' may change 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 from 'int' to 'char' may change value [-Wconversion] GD_installed(clust) = pass + 1; ^~~~ 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, from dot.h:18, from compound.c:18: compound.c: In function 'makeCompoundEdge': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ conc.c: In function 'rebuild_vlists': conc.c:183: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; ^ 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, from dot.h:18, from class2.c:17: class2.c: In function 'merge_chain': ../../lib/common/types.h:583:21: warning: conversion from 'int' to 'short int' may change 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:604:24: warning: conversion from 'int' to 'short int' may change 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); ^~~~~~~~~~~ CC decomp.lo CC fastgr.lo CC flat.lo CC dotinit.lo In file included from ../../lib/common/render.h:44, from dot.h:18, from decomp.c:23: decomp.c: In function 'end_component': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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 from 'int' to 'char' may change value [-Wconversion] ND_mark(np) = Cmark+1; ^~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'safe_list_append': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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))); ^~~~~~~~~~~~ CC mincross.lo fastgr.c: In function 'other_edge': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'new_virtual_edge': ../../lib/common/types.h:606:22: warning: conversion from 'int' to 'short int' may change 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:583: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; ^~~~~~~~ fastgr.c: At top level: fastgr.c:240:9: warning: no previous prototype for 'named_virtual_node' [-Wmissing-prototypes] node_t *named_virtual_node(graph_t * g, char *s) ^~~~~~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'flat_edge': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:267: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 'unsigned int' from 'int' may change 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:272: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:267: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 'unsigned int' from 'int' may change 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:272: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:268: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 'unsigned int' from 'int' may change 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:272: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:268: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, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'basic_merge': ../../lib/common/types.h:583:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ fastgr.c:331:19: note: in expansion of macro 'ED_count' ED_count(rep) += ED_count(e); ^~~~~~~~ ../../lib/common/types.h:604:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ED_xpenalty(e) (((Agedgeinfo_t*)AGDATA(e))->xpenalty) ^ fastgr.c:332:22: note: in expansion of macro 'ED_xpenalty' ED_xpenalty(rep) += ED_xpenalty(e); ^~~~~~~~~~~ fastgr.c: In function 'unrep': ../../lib/common/types.h:583:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ fastgr.c:353:22: note: in expansion of macro 'ED_count' ED_count(rep) -= ED_count(e); ^~~~~~~~ ../../lib/common/types.h:604:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ED_xpenalty(e) (((Agedgeinfo_t*)AGDATA(e))->xpenalty) ^ fastgr.c:354:25: note: in expansion of macro 'ED_xpenalty' ED_xpenalty(rep) -= ED_xpenalty(e); ^~~~~~~~~~~ CC position.lo CC rank.lo In file included from ../../lib/common/render.h:44, from dot.h:18, from flat.c:15: flat.c: In function 'make_vn_slot': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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, from dot.h:18, from flat.c:15: flat.c: In function 'flat_node': ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change 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:496:21: warning: conversion from 'double' to 'int' may change 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:506:18: warning: conversion from 'double' to 'int' may change 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, from dot.h:18, from flat.c:15: flat.c: In function 'abomination': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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 'unsigned int' from 'int' may change 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); ^~~~~ dotinit.c: In function 'dot_init_edge': dotinit.c:70:23: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ED_showboxes(e) = late_int(e, E_showboxes, 0, 0); ^~~~~~~~ dotinit.c:71:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ED_minlen(e) = late_int(e, E_minlen, 1, 0); ^~~~~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from dotinit.c:16: dotinit.c: In function 'attachPos': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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; ^~~~ position.c:37:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ position.c: In function 'nsiter2': position.c:150:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ In file included from ../../lib/common/geom.h:20, 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:84:25: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ position.c:187:20: note: in expansion of macro 'ROUND' ED_minlen(e) = ROUND(len); ^~~~~ ../../lib/common/arith.h:84:25: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ position.c:187:20: note: in expansion of macro 'ROUND' ED_minlen(e) = ROUND(len); ^~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from position.c:23: position.c: In function 'allocate_aux_edges': ../../lib/common/memory.h:36:41: warning: conversion to '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:273: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:205: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:262:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] last = (ND_rank(v) = last + width); ^~~~ mincross.c:73:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ position.c:275:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] m1 = m0 + ND_rw(aghead(e0)) + ND_lw(agtail(e0)); ^~ position.c:281:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] m1 = m0 + ND_rw(agtail(e1)) + ND_lw(aghead(e1)); ^~ In file included from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: ../../lib/common/types.h:595:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ED_minlen(e) (((Agedgeinfo_t*)AGDATA(e))->minlen) ^ position.c:299: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, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: ../../lib/common/arith.h:40:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:305:12: note: in expansion of macro 'MAX' m0 = MAX(m0, width + GD_nodesep(g) + ROUND(ED_dist(e))); ^~~ position.c:307:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] m0 = largeMinlen (m0); ^~~~~~~~~~~ In file included from ../../lib/common/geom.h:20, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: ../../lib/common/arith.h:40:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:308:23: note: in expansion of macro 'MAX' ED_minlen(e0) = MAX(ED_minlen(e0), m0); ^~~ position.c: In function 'make_edge_pairs': position.c:338:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] m0 = (ED_head_port(e).p.x - ED_tail_port(e).p.x); ^ In file included from ../../lib/common/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'fixLabelOrder': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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, from dot.h:18, from mincross.c:22: mincross.c: In function 'new_matrix': ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: position.c: In function 'adjustSimple': ../../lib/common/types.h:377:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define GD_ht1(g) (((Agraphinfo_t*)AGDATA(g))->ht1) ^ position.c:622:17: note: in expansion of macro 'GD_ht1' delbottom = GD_ht1(g) + bottom - (rank[maxr].ht1 - margin_total); ^~~~~~ ../../lib/common/types.h:378:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define GD_ht2(g) (((Agraphinfo_t*)AGDATA(g))->ht2) ^ position.c:628:11: note: in expansion of macro 'GD_ht2' deltop = GD_ht2(g) + (delta-bottom) + delbottom - (rank[minr].ht2 - margin_total); ^~~~~~ ../../lib/common/types.h:378:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define GD_ht2(g) (((Agraphinfo_t*)AGDATA(g))->ht2) ^ position.c:631:11: note: in expansion of macro 'GD_ht2' deltop = GD_ht2(g) + (delta-bottom) - (rank[minr].ht2 - margin_total); ^~~~~~ mincross.c: In function 'do_ordering_node': mincross.c:430:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(sortlist, ne, sizeof(sortlist[0]), (qsort_cmpf) edgeidcmpf); ^~ position.c: In function 'adjustRanks': position.c:684:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] adjustSimple(g, delta, margin_total); ^~~~~ 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) ~~~~~~~~~~^~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: position.c: In function 'set_aspect': ../../lib/common/types.h:357:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ position.c:967:9: note: in expansion of macro 'GD_bb' sz.x = GD_bb(g).UR.x - GD_bb(g).LL.x; ^~~~~ ../../lib/common/types.h:357:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ position.c:968: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:1044:16: warning: conversion from 'double' to 'int' may change 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, from dot.h:18, from position.c:23: position.c: In function 'make_leafslots': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:1080: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 'unsigned int' from 'int' may change 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:1080: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, from dot.h:18, from position.c:23: position.c: In function 'do_leaves': ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ position.c:1099:16: note: in expansion of macro 'ND_coord' lbound.x = ND_coord(leader).x - ND_lw(leader); ^~~~~~~~ ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ position.c:1100:16: note: in expansion of macro 'ND_coord' lbound.y = ND_coord(leader).y; ^~~~~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from position.c:23: ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1110:3: note: in expansion of macro 'elist_append' elist_append(e1, ND_in(aghead(e1))); ^~~~~~~~~~~~ mincross.c: In function 'restore_best': rank.c: In function 'edgelabel_ranks': rank.c:102:19: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ED_minlen(e) *= 2; ^ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1110:3: note: in expansion of macro 'elist_append' elist_append(e1, ND_in(aghead(e1))); ^~~~~~~~~~~~ mincross.c:26:22: warning: conversion from 'double' to 'int' may change 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); ^~~~~~~~~ rank.c: In function 'collapse_rankset': rank.c:115:19: warning: conversion from 'int' to 'char' may change value [-Wconversion] ND_ranktype(u) = kind; ^~~~ mincross.c:906:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(GD_rank(g)[r].v, GD_rank(g)[r].n, sizeof(GD_rank(g)[0].v[0]), rank.c:120:2: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1120:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ rank.c:138:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] ND_ranktype(GD_minset(g)) = kind; ^~~~ rank.c:141:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] ND_ranktype(GD_maxset(g)) = kind; ^~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1120:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ rank.c:136:2: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ mincross.c: In function 'merge_components': mincross.c:946:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_minrank(g) = GlobalMinRank; ^~~~~~~~~~~~~ position.c: In function 'ports_eq': mincross.c:947:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_maxrank(g) = GlobalMaxRank; ^~~~~~~~~~~~~ rank.c: In function 'rank_set_class': position.c:1129:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && (((ED_head_port(e).p.x == ED_head_port(f).p.x) && ^~ rank.c:158:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] GD_set_type(g) = val; ^~~ position.c:1130: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:1132:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && (((ED_tail_port(e).p.x == ED_tail_port(f).p.x) && ^~ In file included from ../../lib/common/render.h:44, from dot.h:18, from rank.c:29: rank.c: In function 'make_new_cluster': position.c:1133:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (ED_tail_port(e).p.y == ED_tail_port(f).p.y)) ^~ rank.c:167:30: warning: conversion to 'size_t' {aka '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:396:52: warning: conversion to 'size_t' {aka '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 '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/geom.h:20, 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:40:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:1192:10: note: in expansion of macro 'MAX' int w = MAX(GD_border(g)[BOTTOM_IX].x, GD_border(g)[TOP_IX].x); ^~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from rank.c:29: rank.c: In function 'dot_scan_ranks': ../../lib/common/types.h:529:20: warning: conversion from 'int' to 'short int' may change 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:529:20: warning: conversion from 'int' to 'short int' may change 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:529:20: warning: conversion from 'int' to 'short int' may change 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:529:20: warning: conversion from 'int' to 'short int' may change 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)); ^~~~~~~ mincross.c: In function 'realFillRanks': mincross.c:1140:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset (rnks, 0, sizeof(int)*rnks_sz); ^ rank.c: In function 'minmax_edges2': In file included from ../../lib/common/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'fillRanks': rank.c:372:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ED_minlen(e) = slen.y; ^~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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; ^~ rank.c:377:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ED_minlen(e) = slen.x; ^~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'init_mincross': rank.c: In function 'rank1': rank.c:393:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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 '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:40, from dot.h:18, from rank.c:29: rank.c: In function 'expand_ranksets': ../../lib/common/types.h:529:20: warning: conversion from 'int' to 'short int' may change 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:529:20: warning: conversion from 'int' to 'short int' may change 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/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'flat_rev': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1219:2: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1219:2: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ In file included from ../../lib/common/geom.h:20, 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:40:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ rank.c:888:20: note: in expansion of macro 'MAX' ED_minlen(e) = MAX(ED_minlen(e), minlen); ^~~ mincross.c: In function 'allocate_ranks': ../../lib/common/memory.h:36:41: warning: conversion to '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:1305: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 '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:1320: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 '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:1323: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 *); ^~~~~ mincross.c: In function 'build_ranks': mincross.c:1425:10: warning: declaration of 'n' shadows a previous local [-Wshadow] int n, ndiv2; ^ mincross.c:1380:13: note: shadowed declaration is here node_t *n, *n0; ^ rank.c: In function 'setMinMax': rank.c:1062:22: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_maxrank(g) = v; ^ rank.c:1064:22: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_minrank(g) = v; ^ In file included from ../../lib/common/render.h:44, from dot.h:18, from rank.c:29: rank.c: In function 'readout_levels': ../../lib/common/memory.h:36:41: warning: conversion to '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:1089:10: note: in expansion of macro 'N_NEW' minrk = N_NEW(ncc+1,int); ^~~~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from rank.c:29: ../../lib/common/types.h:529:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:1097:22: note: in expansion of macro 'ND_rank' GD_maxrank(g) = ND_rank(n); ^~~~~~~ ../../lib/common/types.h:529:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:1099:22: note: in expansion of macro 'ND_rank' GD_minrank(g) = ND_rank(n); ^~~~~~~ mincross.c: In function 'constraining_flat_edge': mincross.c:1463:58: warning: unused parameter 'v' [-Wunused-parameter] static int constraining_flat_edge(Agraph_t *g, Agnode_t *v, Agedge_t *e) ~~~~~~~~~~^ rank.c:1115:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_minrank(g) -= delta; ^~~~~ rank.c:1116:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] GD_maxrank(g) -= delta; ^~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'flat_reorder': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:1507:13: note: in expansion of macro 'ALLOC' temprank = ALLOC(i + 1, temprank, node_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:1507:13: note: in expansion of macro 'ALLOC' temprank = ALLOC(i + 1, temprank, node_t *); ^~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from rank.c:29: rank.c: In function 'add_fast_edges': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:272: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_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1177:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:272: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:1177:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ rank.c: In function 'my_init_graph': rank.c:1183:54: 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:1182: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:1185:52: 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:1184: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:1187:52: 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:1186: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:1211:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ mincross.c: In function 'reorder': mincross.c:1608:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] register int p1 = (ND_mval(*lp)); ^ mincross.c:1609:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] register int p2 = (ND_mval(*rp)); ^ In file included from ../../lib/common/render.h:44, from dot.h:18, from mincross.c:22: mincross.c: In function 'rcross': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:1705:10: note: in expansion of macro 'ALLOC' Count = ALLOC(C, Count, int); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:1705:10: note: in expansion of macro 'ALLOC' Count = ALLOC(C, Count, int); ^~~~~ mincross.c: In function 'medians': mincross.c:1836:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(list, j, sizeof(int), (qsort_cmpf) ordercmpf); ^ mincross.c:1857:18: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] hasfixed |= flat_mval(n); ^~~~~~~~~ In file included from ../../lib/common/geom.h:20, 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:40:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ mincross.c:1960:12: note: in expansion of macro 'MAX' MinQuit = MAX(1, MinQuit * f); ^~~ ../../lib/common/arith.h:40:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ mincross.c:1961:12: note: in expansion of macro 'MAX' MaxIter = MAX(1, MaxIter * f); ^~~ CC sameport.lo CC dotsplines.lo CC aspect.lo In file included from ../../lib/common/render.h:44, from dot.h:18, from sameport.c:19: sameport.c: In function 'sameedge': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 from 'double' to 'unsigned char' may change 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) ~~~~~~~^~~~~~~ dotsplines.c:114:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo' {aka 'struct '} [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40, 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 from 'double' to 'int' may change value [-Wfloat-conversion] rv = p0.p.x - p1.p.x; ^~ dotsplines.c:125:7: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] rv = p0.p.y - p1.p.y; ^~ In file included from ../../lib/common/render.h:44, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'swap_bezier': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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, 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:35:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ dotsplines.c:301:21: note: in expansion of macro 'MIN' sd.LeftBound = MIN(sd.LeftBound, (ND_coord(n).x - ND_lw(n))); ^~~ ../../lib/common/arith.h:40:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ dotsplines.c:303: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, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:328:7: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:328:7: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:335:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:335:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:352:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:352:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ dotsplines.c:364:31: warning: conversion to 'size_t' {aka '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, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:36:41: warning: conversion to '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: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 '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:369:19: note: in expansion of macro 'N_NEW' sd.Rank_box = N_NEW(i, boxf); ^~~~~ dotsplines.c:418:14: warning: declaration of 'e0' shadows a previous local [-Wshadow] edge_t* e0; ^~ dotsplines.c:260: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, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:36:41: warning: conversion to '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:423:14: note: in expansion of macro 'N_NEW' edgelist = N_NEW(cnt, edge_t*); ^~~~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:437: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:506:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_ht(n) (((Agnodeinfo_t*)AGDATA(n))->ht) ^ dotsplines.c:439:15: note: in expansion of macro 'ND_ht' sizey = ND_ht(n); ^~~~~ ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:442: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:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:445: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:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:446: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:895:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int lbllen = strlen(ND_label(orign)->text); ^~~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:39:41: warning: conversion to '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:896:21: note: in expansion of macro 'N_GNEW' char* buf = N_GNEW(lbllen+3,char); ^~~~~~ dotsplines.c:889: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, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'makeSimpleFlatLabels': ../../lib/common/memory.h:36:41: warning: conversion to '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:994:23: note: in expansion of macro 'N_NEW' edge_t** earray = N_NEW(cnt, edge_t*); ^~~~~ dotsplines.c:1000:20: warning: conversion to 'size_t' {aka '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, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'make_flat_adj_edges': ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1234:14: note: in expansion of macro 'ND_coord' rightx = ND_coord(hn).x; ^~~~~~~~ ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1235:13: note: in expansion of macro 'ND_coord' leftx = ND_coord(tn).x; ^~~~~~~~ dotsplines.c:1237:17: warning: declaration of 'n' shadows a previous local [-Wshadow] node_t* n; ^ dotsplines.c:1186:13: note: shadowed declaration is here node_t* n; ^ In file included from ../../lib/common/render.h:44, from dot.h:18, from aspect.c:14: aspect.c: In function 'computeNodeGroups': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ dotsplines.c:1271:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] midx = (ND_coord(tn).x - ND_rw(tn) + ND_coord(hn).x + ND_lw(hn))/2; ^ dotsplines.c:1272:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] midy = (ND_coord(auxt).x + ND_coord(auxh).x)/2; ^ ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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); ^~~~~ dotsplines.c:1183: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, ~~~~~~^ 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 '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:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] layerWidthInfo[maxLayerIndex].nNodeGroupsInLayer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'make_flat_labeled_edge': ../../lib/common/types.h:496:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1411:11: note: in expansion of macro 'ND_coord' ydelta = ND_coord(ln).y - GD_rank(g)[ND_rank(tn)].ht1 - ^~~~~~~~ dotsplines.c:1413:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ydelta /= 6.; ^~ In file included from ../../lib/common/render.h:44, from dot.h:18, from aspect.c:14: aspect.c: In function 'applyPacking2': ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ dotsplines.c: In function 'make_flat_bottom_edges': dotsplines.c:1451: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, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:121:7: note: shadowed declaration is here } splines; ^~~~~~~ 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) ~~~~~~~~~~^ dotsplines.c: In function 'leftOf': dotsplines.c:1642:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] d = ((p1.y - p2.y) * (p3.x - p2.x)) - ^ dotsplines.c: In function 'make_regular_edge': dotsplines.c:1799:6: warning: declaration of 'splines' shadows a global declaration [-Wshadow] int splines = et == ET_SPLINE; ^~~~~~~ In file included from ../../lib/common/render.h:40, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:121:7: note: shadowed declaration is here } splines; ^~~~~~~ In file included from ../../lib/common/render.h:44, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:42:58: warning: conversion to '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:1857:13: note: in expansion of macro 'RALLOC' pointfs = RALLOC(numpts, pointfs, pointf); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to '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:1903:16: note: in expansion of macro 'RALLOC' pointfs = RALLOC(numpts, pointfs, pointf); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to '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:1924:13: note: in expansion of macro 'RALLOC' pointfs2 = RALLOC(numpts2, pointfs2, pointf); ^~~~~~ dotsplines.c: In function 'completeregularpath': dotsplines.c:1949: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:1956:9: warning: variable 'pn' set but not used [-Wunused-but-set-variable] int pn; ^~ dotsplines.c:1955:13: warning: variable 'pp' set but not used [-Wunused-but-set-variable] pointf *pp; ^~ dotsplines.c:1950:21: warning: unused parameter 'flag' [-Wunused-parameter] int boxn, int flag) ~~~~^~~~ dotsplines.c: In function 'makeregularend': dotsplines.c:2070:5: warning: switch missing default case [-Wswitch-default] switch (side) { ^~~~~~ dotsplines.c: In function 'adjustregularpath': dotsplines.c:2206:7: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = (bp1->LL.x + bp1->UR.x) / 2; ^ dotsplines.c:2211:7: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] x = (bp1->LL.x + bp1->UR.x) / 2; ^ dotsplines.c: In function 'rank_box': dotsplines.c:2238: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:2265: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:2302:34: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, p->boxes[b].UR.x, ~~~~~~~~~~~~~~^~ dotsplines.c:2302:52: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, p->boxes[b].UR.x, ~~~~~~~~~~~~~~^~ dotsplines.c:2303:26: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p->boxes[b].UR.x + ND_rw(vn)); dotsplines.c:2305:34: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, (p->boxes[b].LL.x + ~~~~~~~~~~~~~~^~ dotsplines.c:2306:29: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, (p->boxes[b].LL.x + ~~~~~~~~~~~~~~~~~~~ p->boxes[b].UR.x) / 2, ~~~~~~~~~~~~~~~~~~^~~ dotsplines.c:2307:23: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] p->boxes[b].UR.x); ~~~~~~~~~~~~~~^~ aspect.c: In function 'rank3': aspect.c:847:25: warning: 'fstNdGrp' may be used uninitialized in this function [-Wmaybe-uninitialized] virtual_edge(fstNdGrp->nodes[p], ng->nodes[q], ~~~~~~~~^~~~~~~ aspect.c:710:18: note: 'fstNdGrp' was declared here nodeGroup_t *fstNdGrp; ^~~~~~~~ CCLD libdotgen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' Making all in fdpgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' CC comp.lo CC dbg.lo CC grid.lo CC fdpinit.lo CC tlayout.lo CC layout.lo CC xlayout.lo In file included from ../../lib/common/render.h:44, from ./fdp.h:17, from comp.c:26: comp.c: In function 'findCComp': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 *); ^~~~~ CC clusteredges.lo In file included from ../../lib/common/render.h:44, from ./fdp.h:17, from grid.c:27: grid.c: In function 'newBlock': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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, from ./fdp.h:17, from grid.c:27: grid.c: In function 'adjustGrid': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ In file included from ../../lib/common/render.h:44, 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 '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 *); ^~~~~ 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), ^~~~~ 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)) { ^~ layout.c: In function 'finalCC': layout.c:141:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] pt.y = -bb.LL.y + margin + GD_border(rg)[BOTTOM_IX].y; ^ layout.c:145:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] bb.UR.y += pt.y + margin + GD_border(rg)[TOP_IX].y; ^~ In file included from ../../lib/common/render.h:44, from fdp.h:17, from tlayout.h:21, from layout.c:38: layout.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to '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:304:14: note: in expansion of macro 'RALLOC' clist->cl = RALLOC(clist->sz, clist->cl, graph_t *); ^~~~~~ layout.c: In function 'portName': layout.c:327:9: warning: conversion to 'size_t' {aka '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:327:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len += strlen(agnameof(g)) + strlen(agnameof(h)) + strlen(agnameof(t)); ^~~~~~ layout.c:329:33: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long unsigned int' [-Wformat=] sprintf(buf, "_port_%s_%s_%s_%ld", agnameof(g), agnameof(t), agnameof(h), ~~^ %lld layout.c:332:37: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long unsigned int' [-Wformat=] sprintf(buf, "_port_%s_(%d)_(%d)_%ld",agnameof(g), ND_id(t), ND_id(h), ~~^ %lld In file included from ../../lib/common/render.h:44, from fdp.h:17, from tlayout.h:21, from layout.c:38: layout.c: In function 'addEdge': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:394:10: note: in expansion of macro 'ALLOC' el = ALLOC(cnt + 1, el, edge_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:394: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 '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:552:19: note: in expansion of macro 'N_NEW' PORTS(dg) = pq = N_NEW(sz + 1, bport_t); ^~~~~ layout.c: In function 'ecmp': layout.c:591:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] erec *e1 = (erec *) v1; ^ layout.c:592: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, from fdp.h:17, from tlayout.h:21, from layout.c:38: layout.c: In function 'getEdgeList': ../../lib/common/memory.h:36:41: warning: conversion to '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:622:13: note: in expansion of macro 'N_NEW' erecs = N_NEW(deg + 1, erec); ^~~~~ layout.c:637:18: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(erecs, deg, sizeof(erec), ecmp); ^~~ layout.c:648: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, from fdp.h:17, from tlayout.h:21, from layout.c:38: layout.c: In function 'expandCluster': xlayout.c:60:6: warning: no previous prototype for 'pr2graphs' [-Wmissing-prototypes] void pr2graphs(Agraph_t *g0, Agraph_t *g1) ^~~~~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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:745:7: note: in expansion of macro 'N_NEW' pp = N_NEW(sz + 1, bport_t); ^~~~~ 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) { ^~ layout.c: In function 'layout': ../../lib/common/memory.h:36:41: warning: conversion to '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:931:11: note: in expansion of macro 'N_NEW' bp = N_NEW(c_cnt, boolean); ^~~~~ In file included from ../../lib/common/types.h:35, 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 from 'double' to 'float' may change 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 from 'double' to 'float' may change 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); ^~~~~~~ layout.c: In function 'mkClusters': ../../lib/common/memory.h:42:58: warning: conversion to '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:1054: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:1062:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] GD_ndim(g) = late_int(g, agattr(g,AGRAPH, "dim", NULL), 2, 2); ^~~~~~~~ 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, from ./clusteredges.h:21, from clusteredges.c:26: clusteredges.c: In function 'addObj': ../../lib/common/memory.h:42:58: warning: conversion to '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 '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) ~~~~^~~~~~~~ CCLD libfdpgen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' Making all in neatogen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' CC adjust.lo CC circuit.lo CC geometry.lo CC edges.lo CC heap.lo CC hedges.lo geometry.c: In function 'geominit': geometry.c:32:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sqrt_nsites = (int) sqrt(sn); ^ geometry.c: In function 'intersection': geometry.c:78:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denom == 0.0) ^~ CC info.lo heap.c: In function 'PQbucket': heap.c:39:11: warning: conversion from 'double' to 'int' may change 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, from heap.c:15: heap.c: In function 'PQinitialize': ../../lib/common/memory.h:39:41: warning: conversion to '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) ^~~~~~ CC neatoinit.lo In file included from ../../lib/common/render.h:44, from hedges.c:16: hedges.c: In function 'ELinitialize': ../../lib/common/memory.h:39:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] bucket = (p->x - xmin) / deltax * ELhashsize; ^ 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) { ^~ 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, 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, 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, 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, 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, from neato.h:36, from adjust.c:19: adjust.c: In function 'makeInfo': ../../lib/common/memory.h:39:41: warning: conversion to '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, from ../../lib/common/render.h:40, from neato.h:36, from adjust.c:19: ../../lib/common/geom.h:69:27: warning: conversion from 'double' to 'float' may change 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 from 'double' to 'float' may change 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, from neato.h:36, from adjust.c:19: adjust.c: In function 'sortSites': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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:593:27: warning: unused parameter 'c' [-Wunused-parameter] static double rePos(Point c) ~~~~~~^ adjust.c: In function 'updateGraph': adjust.c:647:36: warning: unused parameter 'graph' [-Wunused-parameter] static void updateGraph(Agraph_t * graph) ~~~~~~~~~~~^~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from adjust.c:19: adjust.c: In function 'getSizes': ../../lib/common/memory.h:39:41: warning: conversion to '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:673:19: note: in expansion of macro 'N_GNEW' real *sizes = N_GNEW(Ndim * agnnodes(g), real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:686: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 '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:730:9: note: in expansion of macro 'N_GNEW' I = N_GNEW(nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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' J = N_GNEW(nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:11: note: in expansion of macro 'N_GNEW' val = N_GNEW(nedges, real); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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:737:9: note: in expansion of macro 'N_NEW' valD = N_NEW(nedges, real); ^~~~~ adjust.c:703:42: warning: unused parameter 'dim' [-Wunused-parameter] SparseMatrix makeMatrix(Agraph_t* g, int dim, SparseMatrix *D) ~~~~^~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from adjust.c:19: adjust.c: In function 'vpscAdjust': ../../lib/common/memory.h:39:41: warning: conversion to '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:834:21: note: in expansion of macro 'N_GNEW' pointf* nsize = N_GNEW(nnodes, pointf); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:835:22: note: in expansion of macro 'N_GNEW' float** coords = N_GNEW(dim, float*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:836:24: note: in expansion of macro 'N_GNEW' float* f_storage = N_GNEW(dim * nnodes, float); ^~~~~~ adjust.c:839:14: warning: declaration of 'margin' shadows a global declaration [-Wshadow] expand_t margin; ^~~~~~ adjust.c:40:15: note: shadowed declaration is here static double margin = 0.05; /* Create initial bounding box by adding ^~~~~~ adjust.c: In function 'normalize': adjust.c:941:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x || p.y) ret = 1; ^ adjust.c:941:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x || p.y) ret = 1; ^~ adjust.c:955:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (phi) { ^~~ adjust.c: In function 'getAdjustMode': adjust.c:1040:40: warning: conversion to 'size_t' {aka '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:1099:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sc.y == 1) && (sc.x == 1)) return 0; ^~ adjust.c:1099: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:1276:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] pp->x = 1.0 + x/sepfact; ^~~ adjust.c:1277:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] pp->y = 1.0 + y/sepfact; ^~~ adjust.c: In function 'sepFactor': adjust.c:38:25: warning: conversion from 'double' to 'float' changes value from '8.0000000000000004e-1' to '8.00000012e-1f' [-Wfloat-conversion] #define SEPFACT 0.8 /* default esep/sep */ ^~~ adjust.c:1294: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:1320:90: warning: conversion from 'double' to 'float' changes value from '3.2000000000000002e+0' to '3.20000005e+0f' [-Wfloat-conversion] else if ((marg = agget(g, "sep")) && parseFactor(marg, &pmargin, 1.0/SEPFACT, SEPFACT*DFLT_MARGIN)) { adjust.c:38:25: warning: conversion from 'double' to 'float' changes value from '3.2000000000000002e+0' to '3.20000005e+0f' [-Wfloat-conversion] #define SEPFACT 0.8 /* default esep/sep */ ^~~ adjust.c:1323:26: note: in expansion of macro 'SEPFACT' pmargin.x = pmargin.y = SEPFACT*DFLT_MARGIN; ^~~~~~~ CC legal.lo info.c: In function 'compare': info.c:47:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->p.x == q->p.x) && (p->p.y == q->p.y)) ^~ info.c:47:39: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->p.x == q->p.x) && (p->p.y == q->p.y)) ^~ info.c: In function 'addVertex': info.c:167:12: warning: declaration of 'origin' shadows a global declaration [-Wshadow] Point *origin = &(s->coord); ^~~~~~ In file included from site.h:23, from voronoi.h:23, from info.h:22, from info.c:17: geometry.h:31:18: note: shadowed declaration is here extern Point origin; ^~~~~~ CC lu.lo CC matinv.lo CC memory.lo legal.c: In function 'sgnarea': legal.c:80:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[0] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ legal.c:82:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[1] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ legal.c: In function 'between': legal.c:89:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ legal.c:89:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ legal.c: In function 'online': legal.c:101:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ legal.c:101:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ legal.c: In function 'intpoint': legal.c:124:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ls.x == le.x) { ^~ legal.c:127:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (ms.x == me.x) { ^~ legal.c:164:36: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((ls.x - le.x) * (ms.y - ls.y) == (ls.y - le.y) * (ms.x - ls.x)) { ^~ legal.c:121:5: warning: switch missing default case [-Wswitch-default] switch (cond) { ^~~~~~ legal.c: In function 'realIntersect': legal.c:195:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ legal.c:195:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ legal.c:196:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vft.x == avft.x) && ^~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:197:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, p) && ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:197:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, p) && ^~~~~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:198:4: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, p)) || ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:198:4: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, p)) || ^~~~~ legal.c:199:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vsd.x == avsd.x) && ^~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:200:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:200:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:200:22: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ legal.c:200:22: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c: In function 'find_intersection': legal.c:219:19: warning: unused parameter 'ilist' [-Wunused-parameter] intersection* ilist, data *input) ~~~~~~~~~~~~~~^~~~~ legal.c:219:32: warning: unused parameter 'input' [-Wunused-parameter] intersection* ilist, data *input) ~~~~~~^~~~~ legal.c: In function 'gt': legal.c:266:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.x - (*j)->pos.x) != 0.) ^~ legal.c:268:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.y - (*j)->pos.y) == 0.) ^~ In file included from ../../lib/common/render.h:44, from neato.h:36, from legal.c:14: legal.c: In function 'find_ints': ../../lib/common/memory.h:39:41: warning: conversion to '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:25: warning: conversion to 'size_t' {aka '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, from neato.h:36, from legal.c:14: legal.c: In function 'Plegal_arrangement': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from neatoinit.c:23: neatoinit.c: In function 'cluster_map': ../../lib/common/memory.h:36:41: warning: conversion to '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:193:25: note: in expansion of macro 'N_NEW' boolean* assigned = N_NEW(agnnodes(g), boolean); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:204:28: note: in expansion of macro 'N_GNEW' cs = cdata->clusters = N_GNEW(nclusters,int*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:205:32: note: in expansion of macro 'N_GNEW' cn = cdata->clustersizes = N_GNEW(nclusters,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:213:25: note: in expansion of macro 'N_GNEW' c = *cs++ = N_GNEW(*cn++,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:229:15: note: in expansion of macro 'N_GNEW' cdata->bb=N_GNEW(cdata->nclusters,boxf); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:230:21: note: in expansion of macro 'N_GNEW' cdata->toplevel=N_GNEW(cdata->ntoplevel,int); ^~~~~~ neatoinit.c: In function 'user_spline': ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:306:7: note: in expansion of macro 'ALLOC' ps = ALLOC(n, 0, pointf); ^~~~~ neatoinit.c: In function 'add_cluster': neatoinit.c:454:30: warning: conversion to 'size_t' {aka '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:396:52: warning: conversion to 'size_t' {aka '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:454: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 '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:454: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:593: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:593: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:616:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); ^~~~~~~~ In file included from ../../lib/common/geom.h:20, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from neato.h:36, from neatoinit.c:23: ../../lib/common/arith.h:35:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ neatoinit.c:618:24: note: in expansion of macro 'MIN' GD_odim(g->root) = MIN(outdim, Ndim); ^~~ neatoinit.c: In function 'dfsCycle': neatoinit.c:720:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph[i].edists[e] == 1.0) continue; /* in edge */ ^~ neatoinit.c:724:34: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] graph[i].edists[e] = x; ^ In file included from ../../lib/common/render.h:44, from neato.h:36, from neatoinit.c:23: neatoinit.c: In function 'makeGraphData': ../../lib/common/memory.h:39:41: warning: conversion to '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:807:13: note: in expansion of macro 'N_GNEW' graph = N_GNEW(nv, vtx_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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' nodes = N_GNEW(nv, node_t*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:809: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 '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:10: note: in expansion of macro 'N_GNEW' ewgts = N_GNEW(2 * ne + nv, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:813:13: note: in expansion of macro 'N_GNEW' eweights = N_GNEW(2 * ne + nv, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:816:11: note: in expansion of macro 'N_GNEW' edists = N_GNEW(2*ne+nv,float); ^~~~~~ In file included from ../../lib/common/render.h:40, from neato.h:36, from neatoinit.c:23: ../../lib/common/types.h:588:22: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) ^ neatoinit.c:850:33: note: in expansion of macro 'ED_factor' graph[i].eweights[idx] += ED_factor(ep); ^~~~~~~~~ neatoinit.c:852:20: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] int curlen = graph[i].ewgts[idx]; ^~~~~ In file included from ../../lib/common/geom.h:20, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from neato.h:36, from neatoinit.c:23: ../../lib/common/arith.h:40:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ neatoinit.c:853: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, from neato.h:36, from neatoinit.c:23: ../../lib/common/types.h:588:22: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) ^ neatoinit.c:862:21: note: in expansion of macro 'ED_factor' *eweights++ = ED_factor(ep); ^~~~~~~~~ ../../lib/common/types.h:605:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ED_dist(e) (((Agedgeinfo_t*)AGDATA(e))->dist) ^ neatoinit.c:864:18: note: in expansion of macro 'ED_dist' *ewgts++ = ED_dist(ep); ^~~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from neatoinit.c:23: ../../lib/common/memory.h:42:58: warning: conversion to '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:899: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 '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:901: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 '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:903:17: note: in expansion of macro 'RALLOC' eweights = RALLOC(2 * ne + nv, graph[0].eweights, float); ^~~~~~ neatoinit.c: In function 'setSeed': neatoinit.c:992:13: warning: conversion to 'long int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] seed = (unsigned) getpid() ^ (unsigned) time(NULL); ^ In file included from ../../lib/common/render.h:44, from neato.h:36, from neatoinit.c:23: neatoinit.c: In function 'majorization': ../../lib/common/memory.h:39:41: warning: conversion to '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:1148:14: note: in expansion of macro 'N_GNEW' coords = N_GNEW(dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:1149:17: note: in expansion of macro 'N_GNEW' coords[0] = N_GNEW(nv * dim, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:1180:14: note: in expansion of macro 'N_GNEW' nsize = N_GNEW(nv, pointf); ^~~~~~ neatoinit.c:1256:6: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ neatoinit.c:1133:9: note: shadowed declaration is here int i, rv = 0; ^ neatoinit.c:1129:82: warning: unused parameter 'steps' [-Wunused-parameter] majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int steps, adjust_data* am) ~~~~^~~~~ neatoinit.c: In function 'mds_model': neatoinit.c:1289: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, from neato.h:36, from neatoinit.c:23: neatoinit.c: In function 'neato_layout': ../../lib/common/memory.h:36:41: warning: conversion to '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:1474:12: note: in expansion of macro 'N_NEW' bp = N_NEW(n_cc, boolean); ^~~~~ neatoinit.c:1478:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pinfo.margin = Pack; ^~~~ 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, from ./neato.h:36, from lu.c:49: lu.c: In function 'lu_decompose': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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) ^~~~~~~~ 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, from matinv.c:38: matinv.c: In function 'matinv': ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ memory.c: In function 'freeinit': memory.c:41:22: warning: conversion to '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 '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 '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 '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:34: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-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 '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 'unsigned 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 'unsigned 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: In function 'getfree': memory.c:73:35: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] mem->nodes = gmalloc(sqrt_nsites * size); ~~~~~~~~~~~~^~~~~~ CC poly.lo CC printvis.lo legal.c:414:20: warning: variable 'nverts' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int i, j, vno, nverts, found; ^~~~~~ CC site.lo CC solve.lo CC neatosplines.lo printvis.c:19:6: warning: no previous prototype for 'printvis' [-Wmissing-prototypes] void printvis(vconfig_t * cp) ^~~~~~~~ CC stuff.lo poly.c: In function 'bbox': poly.c:53:12: warning: declaration of 'xmin' shadows a global declaration [-Wshadow] double xmin, ymin, xmax, ymax; ^~~~ In file included from poly.h:21, 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, 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, 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, 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, from neato.h:36, from poly.c:17: poly.c: In function 'genRound': ../../lib/common/memory.h:39:41: warning: conversion to '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, from neato.h:36, from poly.c:17: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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:42: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[0] = makeScaledTransPoint(b.LL.x, b.LL.y, -xmargin, -ymargin); ~~~~^~ poly.c:250:50: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[0] = makeScaledTransPoint(b.LL.x, b.LL.y, -xmargin, -ymargin); ~~~~^~ poly.c:251:42: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[1] = makeScaledTransPoint(b.UR.x, b.LL.y, xmargin, -ymargin); ~~~~^~ poly.c:251:50: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[1] = makeScaledTransPoint(b.UR.x, b.LL.y, xmargin, -ymargin); ~~~~^~ poly.c:252:42: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[2] = makeScaledTransPoint(b.UR.x, b.UR.y, xmargin, ymargin); ~~~~^~ poly.c:252:50: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[2] = makeScaledTransPoint(b.UR.x, b.UR.y, xmargin, ymargin); ~~~~^~ poly.c:253:42: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] verts[3] = makeScaledTransPoint(b.LL.x, b.UR.y, -xmargin, ymargin); ~~~~^~ poly.c:253:50: warning: conversion from 'double' to 'int' may change 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, from neato.h:36, from poly.c:17: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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, from neato.h:36, from poly.c:17: poly.c: In function 'inPoly': ../../lib/common/memory.h:39:41: warning: conversion to '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, 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, from neato.h:36, from poly.c:17: poly.c: In function 'polyOverlap': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ CC voronoi.lo solve.c:23:6: warning: no previous prototype for 'solve' [-Wmissing-prototypes] void solve(double *a, double *b, double *c, int n) ^~~~~ In file included from ../../lib/common/render.h:44, from solve.c:19: solve.c: In function 'solve': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ neatosplines.c: In function 'spline_merge': neatosplines.c:34:38: warning: unused parameter 'n' [-Wunused-parameter] static boolean spline_merge(node_t * n) ~~~~~~~~~^ neatosplines.c: In function 'swap_ends_p': neatosplines.c:39:37: warning: unused parameter 'e' [-Wunused-parameter] static boolean swap_ends_p(edge_t * e) ~~~~~~~~~^ neatosplines.c: At top level: neatosplines.c:44:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo' {aka 'struct '} [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40, from neato.h:36, 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, from neato.h:36, from neatosplines.c:17: neatosplines.c: In function 'make_barriers': ../../lib/common/memory.h:39:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] if ((x = key1->p1.x - key2->p1.x)) ^~~~ neatosplines.c:151:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] if ((x = key1->p1.y - key2->p1.y)) ^~~~ neatosplines.c:153:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] if ((x = key1->p2.x - key2->p2.x)) ^~~~ neatosplines.c:155:24: warning: conversion from 'double' to 'int' may change 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, from neato.h:36, from neatosplines.c:17: neatosplines.c: In function 'makeSelfArcs': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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, from neato.h:36, from neatosplines.c:17: neatosplines.c: In function '_spline_edges': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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, from neato.h:36, from neatosplines.c:17: neatosplines.c: In function '_neato_set_aspect': ../../lib/common/types.h:357:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ neatosplines.c:1013:6: note: in expansion of macro 'GD_bb' if (GD_bb(g).LL.x || GD_bb(g).LL.y) { ^~~~~ neatosplines.c:1013:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (GD_bb(g).LL.x || GD_bb(g).LL.y) { ^~ 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)) ~~~~^~~~~~~~~~~ CC stress.lo CC kkutils.lo In file included from ../../lib/common/render.h:44, from neato.h:36, from stuff.c:17: stuff.c: In function 'new_array': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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 '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, from neato.h:36, from stuff.c:17: stuff.c: In function 'scan_graph_mode': ../../lib/common/memory.h:36:41: warning: conversion to '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 *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to '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:267:22: note: in expansion of macro 'N_NEW' GD_neato_nlist(G) = N_NEW(nV + 1, node_t *); // not sure why but sometimes needs the + 1 ^~~~~ stuff.c: At top level: stuff.c:454: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, from neato.h:36, from stuff.c:17: stuff.c: In function 'move_node': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:582:9: note: in expansion of macro 'ALLOC' a = ALLOC(Ndim * Ndim, a, double); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change 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:582: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 '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:682:12: note: in expansion of macro 'N_NEW' Heap = N_NEW(nG + 1, node_t *); ^~~~~ CC matrix_ops.lo CC embed_graph.lo stress.c: In function 'initLayout': stress.c:159:23: warning: unused parameter 'graph' [-Wunused-parameter] initLayout(vtx_data * graph, int n, int dim, double **coords, ~~~~~~~~~~~^~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from stress.c:15: stress.c: In function 'circuitModel': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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); ^~~~~~ 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) ~~~~^ ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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 '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 '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 '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 *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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); ^~~~~~ kkutils.c: In function 'quicksort_placef': kkutils.c:198:34: warning: conversion to 'size_t' {aka '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); ~~~~~~~~~~^~ ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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); ^~~~~~ stress.c:546:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] ewgts[j] = -1.0 / (float) dist_list[j]; ^ In file included from ../../lib/common/render.h:44, from neato.h:36, from stress.c:15: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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, from neato.h:36, from stress.c:15: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 from 'DistType' {aka 'int'} to 'float' may change 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, from neato.h:36, from stress.c:15: stress.c: In function 'compute_weighted_apsp_packed': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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 '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 '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 from 'int' to 'float' may change value [-Wconversion] ((float) deg_i + deg_j - ^ stress.c:847:30: warning: conversion from 'int' to 'float' may change 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, from neato.h:36, from stress.c:15: stress.c: In function 'stress_majorization_kD_mkernel': ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 from 'int' to 'float' may change value [-Wconversion] constant_term = ((float) n * (n - 1) / 2); ^ In file included from ../../lib/common/render.h:44, from neato.h:36, from stress.c:15: ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 from 'long double' to 'float' may change value [-Wfloat-conversion] lap2[count] = degrees[i]; ^~~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from stress.c:15: ../../lib/common/memory.h:36:41: warning: conversion to '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 '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 '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 '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 '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 '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 from 'long double' to 'float' may change value [-Wfloat-conversion] lap1[count] = degrees[i]; ^~~~~~~ In file included from matrix_ops.c:16: matrix_ops.c: In function 'power_iteration': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 from 'int' to 'float' may change 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) ^~ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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 '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 '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 *); ^~~~~~ CC dijkstra.lo CC conjgrad.lo CC pca.lo CC closest.lo In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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 '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 '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 '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 '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 '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, from neato.h:36, 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 '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 '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 '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 '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 '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 '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, from neato.h:36, 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 '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 '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 '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 '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) { ^~ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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 '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 '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 '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, from neato.h:36, 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 '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 '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) ^~ In file included from ../../lib/common/render.h:44, from neato.h:36, from defs.h:21, from bfs.h:21, from dijkstra.c:24: dijkstra.c: In function 'dijkstra_sgd': ../../lib/common/memory.h:39:41: warning: conversion to '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:406:20: note: in expansion of macro 'N_GNEW' int *indices = N_GNEW(graph->n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:407:20: note: in expansion of macro 'N_GNEW' float *dists = N_GNEW(graph->n, float); ^~~~~~ dijkstra.c:422:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d == MAXFLOAT) { ^~ CC bfs.lo CC constraint.lo In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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, from neato.h:36, 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 '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 '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, from neato.h:36, 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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:213:18: note: in expansion of macro 'N_GNEW' int *right = N_GNEW(n, int); ^~~~~~ closest.c:214:5: warning: missing initializer for field 'dist' of 'Pair' {aka 'struct '} [-Wmissing-field-initializers] Pair pair = { 0, 0 }, new_pair; ^~~~ closest.c:30:12: note: 'dist' declared here double dist; /* distance between the nodes in the layout */ ^~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from defs.h:21, from kkutils.h:23, from closest.c:15: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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, from neato.h:36, 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 '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 '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 '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 '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); ^~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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 '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 '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 '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 '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 from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] return power_iteration(mat, dim, 1, &new_direction, &eval, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC quad_prog_solve.lo CC smart_ini_x.lo bfs.c: In function 'bfs_bounded': bfs.c:74:47: warning: unused parameter 'n' [-Wunused-parameter] bfs_bounded(int vertex, vtx_data * graph, int n, DistType * dist, ~~~~^ In file included from ../../lib/common/render.h:44, from neato.h:36, 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 '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) ^~~~~~~~ CC constrained_majorization.lo constraint.c: In function 'mapGraphs': constraint.c:145:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ED_minlen(ce) == 0.0) { ^~ In file included from ../../lib/common/render.h:44, from neato.h:36, from constraint.c:17: ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 from 'int' to 'short unsigned int' may change 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 from 'double' to 'short unsigned int' may change value [-Wfloat-conversion] ED_minlen(e) = delta; ^~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from constraint.c:17: ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 '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:273: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 '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:273: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 '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:273: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 'unsigned int' from 'int' may change 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:272: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 from 'int' to 'float' may change value [-Wconversion] w2 = SCALE * (POINTS(ND_width(n)/2.0) + margin.x); ^ constraint.c:583:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] constraint.c:21:15: warning: conversion from 'float' to 'int' may change 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 from 'int' to 'float' may change value [-Wconversion] h2 = SCALE * (POINTS(ND_height(n)/2.0) + margin.y); ^ constraint.c:584:41: warning: conversion from 'int' to 'float' may change value [-Wconversion] constraint.c:21:15: warning: conversion from 'float' to 'int' may change 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, from neato.h:36, from constraint.c:17: constraint.c: In function 'cAdjust': ../../lib/common/memory.h:39:41: warning: conversion to '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, from neato.h:36, from constraint.c:17: constraint.c: In function 'mkOverlapSet': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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, from neato.h:36, from constraint.c:17: ../../lib/common/memory.h:42:58: warning: conversion to '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 '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, from neato.h:36, from constraint.c:17: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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, from ../../lib/common/render.h:40, from neato.h:36, from constraint.c:17: ../../lib/common/geom.h:69:27: warning: conversion from 'double' to 'float' may change 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 from 'double' to 'float' may change 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: ^~~~ CC opt_arrangement.lo In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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 '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 from 'int' to 'float' may change value [-Wconversion] row_avg[i]=(float)sum_row/n; ^ smart_ini_x.c:196:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] *all_avg=(float)sum/(n*n); ^ In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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 from 'DistType' {aka 'int'} to 'float' may change 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, from ./neato.h:36, 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 '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 '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, from ./neato.h:36, 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 '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 '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 '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 '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 from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] balance[i]+=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} ^ smart_ini_x.c:347:26: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] balance[i]-=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} ^ smart_ini_x.c:365:18: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] b+=Dij[i][j]*(-lap[i][j]); ^ smart_ini_x.c:369:18: warning: conversion from 'DistType' {aka 'int'} to 'float' may change 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)) { ^~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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); ^~~~~~ CC overlap.lo quad_prog_solve.c: In function 'computeHierarchyBoundaries': quad_prog_solve.c:101:46: warning: unused parameter 'n' [-Wunused-parameter] computeHierarchyBoundaries(float *place, int n, int *ordering, int *levels, ~~~~^ quad_prog_solve.c: In function 'constrained_majorization_new': quad_prog_solve.c:146:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (levels_gap != 0) { ^~ quad_prog_solve.c:198:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (place[ordering[right]] != cur_place) { ^~ quad_prog_solve.c:239:31: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (desired_place[node] == cur_place) { ^~ quad_prog_solve.c: In function 'compare_incr': quad_prog_solve.c:410:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (place[*(int *) a] > place[*(int *) b]) { ^ quad_prog_solve.c:410:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (place[*(int *) a] > place[*(int *) b]) { ^ quad_prog_solve.c:412:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] } else if (place[*(int *) a] < place[*(int *) b]) { ^ quad_prog_solve.c:412:43: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] } else if (place[*(int *) a] < place[*(int *) b]) { ^ quad_prog_solve.c: In function 'constrained_majorization_gradient_projection': quad_prog_solve.c:495:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (size_t) endOfLevel - levels[i], sizeof(int), ^ quad_prog_solve.c:502:40: warning: conversion from 'int' to 'float' may change value [-Wconversion] place[l] + place[u] - levels_gap * (e->lev[l] + ^ quad_prog_solve.c:511:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] pos = place[u] - levels_gap * e->lev[u]; ^ quad_prog_solve.c:523:32: warning: conversion from 'int' to 'float' may change value [-Wconversion] pos = place[l] - levels_gap * e->lev[l]; ^ quad_prog_solve.c:535:24: warning: conversion from 'int' to 'float' may change value [-Wconversion] avgPos + levels_gap * e->lev[ordering[j]]; ^ quad_prog_solve.c:559:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] tmptest = fabs(place[i] - old_place[i]); ^~~~ quad_prog_solve.c:424:12: warning: unused parameter 'ndims' [-Wunused-parameter] int ndims, int cur_axis, ~~~~^~~~~ quad_prog_solve.c: In function 'constrained_majorization_new_with_gaps': quad_prog_solve.c:611:12: warning: declaration of 'place' shadows a global declaration [-Wshadow] float *place = coords[cur_axis]; ^~~~~ quad_prog_solve.c:407:15: note: shadowed declaration is here static float *place; ^~~~~ quad_prog_solve.c:755:31: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (desired_place[node] == cur_place) { ^~ quad_prog_solve.c:606:32: warning: unused parameter 'ndims' [-Wunused-parameter] float **coords, int ndims, ~~~~^~~~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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 '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 '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 '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 '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 '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 '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 '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); ^~~~~~ 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, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from constrained_majorization.c:14: ../../lib/common/memory.h:39:41: warning: conversion to '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, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from constrained_majorization.c:14: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 from 'double' to 'float' may change value [-Wfloat-conversion] levels_gap); ^~~~~~~~~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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); ^~~~~~ CC call_tri.lo CC compute_hierarchy.lo 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) ~~~~~^~~~ CC delaunay.lo CC multispline.lo call_tri.c:21:14: warning: no previous prototype for 'call_tri' [-Wmissing-prototypes] SparseMatrix call_tri(int n, int dim, real * x) ^~~~~~~~ In file included from ../../lib/sparse/general.h:31, 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 '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 '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, 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 '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 '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); ^~~~~~ CC constrained_majorization_ipsep.lo 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: delaunay.c: In function 'UG_graph': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, 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 '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 '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 '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; ^~~~~~ CC mosek_quad_solve.lo CC quad_prog_vpsc.lo CC sgd.lo CC randomkit.lo In file included from ../../lib/common/render.h:44, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from constrained_majorization_ipsep.c:37: constrained_majorization_ipsep.c: In function 'stress_majorization_cola': ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:208:16: note: in expansion of macro 'N_GNEW' float *clap = N_GNEW(clap_length, float); ^~~~~~ constrained_majorization_ipsep.c:222:12: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] v = 1.0 / v; ^~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from constrained_majorization_ipsep.c:37: ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:237:15: note: in expansion of macro 'N_GNEW' degrees = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:253:14: note: in expansion of macro 'N_GNEW' coords = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:254:17: note: in expansion of macro 'N_GNEW' f_storage = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:271:9: note: in expansion of macro 'N_GNEW' b = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:272:12: note: in expansion of macro 'N_GNEW' b[0] = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:277:18: note: in expansion of macro 'N_GNEW' tmp_coords = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:278:24: note: in expansion of macro 'N_GNEW' dist_accumulator = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:291:12: note: in expansion of macro 'N_GNEW' lap1 = N_GNEW(lap_length, float); ^~~~~~ constrained_majorization_ipsep.c:416:48: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] generateNonoverlapConstraints(cMajEnvHor, nsizeScale, coords, ^~~~~~~~~~ constrained_majorization_ipsep.c:441:48: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] generateNonoverlapConstraints(cMajEnvVrt, nsizeScale, coords, ^~~~~~~~~~ constrained_majorization_ipsep.c:59:13: warning: unused parameter 'nedges_graph' [-Wunused-parameter] int nedges_graph, /* Number of edges */ ~~~~^~~~~~~~~~~~ multispline.c: In function 'spline_merge': multispline.c:20:38: warning: unused parameter 'n' [-Wunused-parameter] static boolean spline_merge(node_t * n) ~~~~~~~~~^ multispline.c: In function 'swap_ends_p': multispline.c:25:37: warning: unused parameter 'e' [-Wunused-parameter] static boolean swap_ends_p(edge_t * e) ~~~~~~~~~^ multispline.c: At top level: multispline.c:30:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo' {aka 'struct '} [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40, 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, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'mkCtrlPts': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'mkTriGraph': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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 '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, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'genroute': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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 '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 '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 '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: 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, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'triPath': ../../lib/common/memory.h:36:41: warning: conversion to '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 from 'double' to 'float' may change value [-Wfloat-conversion] N_VAL(pq, adjn) = d; ^ multispline.c:1327:26: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] PQupdate(pq, adjn, d); ^ In file included from ../../lib/common/render.h:44, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'makeMultiSpline': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ randomkit.c: In function 'rk_seed': randomkit.c:99:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] seed = (1812433253UL * (seed ^ (seed >> 30)) + pos + 1) & 0xffffffffUL; ^ randomkit.c: In function 'rk_long': randomkit.c:150:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] return rk_ulong(state) >> 1; ~~~~~~~~~~~~~~~~^~~~ randomkit.c: In function 'rk_double': randomkit.c:199:14: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] long a = rk_random(state) >> 5, b = rk_random(state) >> 6; ^~~~~~~~~ randomkit.c:199:41: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] long a = rk_random(state) >> 5, b = rk_random(state) >> 6; ^~~~~~~~~ quad_prog_vpsc.c: In function 'constrained_majorization_vpsc': quad_prog_vpsc.c:76:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] place[i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:116:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denominator != 0) ^~ quad_prog_vpsc.c:130:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] place[i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:149:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denominator != 0.0) ^~ quad_prog_vpsc.c:161:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] test += fabs(place[i] - old_place[i]); ^~~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from quad_prog_vpsc.c:28: quad_prog_vpsc.c: In function 'initCMajVPSC': ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:211:13: note: in expansion of macro 'N_GNEW' e->vs = N_GNEW(n, Variable *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:253:10: note: in expansion of macro 'N_GNEW' e->vs = N_GNEW(n + e->ndv, Variable *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:327:18: note: in expansion of macro 'N_GNEW' e->fArray1 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:328:18: note: in expansion of macro 'N_GNEW' e->fArray2 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:329:18: note: in expansion of macro 'N_GNEW' e->fArray3 = N_GNEW(n, float); ^~~~~~ quad_prog_vpsc.c: In function 'generateNonoverlapConstraints': quad_prog_vpsc.c:400:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] nsizeScale *= 1.0001; ^~~~~~ quad_prog_vpsc.c: In function 'removeoverlaps': quad_prog_vpsc.c:622:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] coords[0][i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:627:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] coords[1][i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44, from ./neato.h:36, from ./defs.h:21, from digcola.h:21, from quad_prog_vpsc.c:28: quad_prog_vpsc.c: In function 'assign_digcola_levels': ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:639:23: note: in expansion of macro 'N_GNEW' DigColaLevel *l = N_GNEW(num_divisions + 1, DigColaLevel); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:642:18: note: in expansion of macro 'N_GNEW' l[0].nodes = N_GNEW(l[0].num_nodes, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:649:15: note: in expansion of macro 'N_GNEW' l[i].nodes = N_GNEW(l[i].num_nodes, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:657:27: note: in expansion of macro 'N_GNEW' l[num_divisions].nodes = N_GNEW(l[num_divisions].num_nodes, int); ^~~~~~ sgd.c:10:7: warning: no previous prototype for 'calculate_stress' [-Wmissing-prototypes] float calculate_stress(float *pos, term_sgd *terms, int n_terms) { ^~~~~~~~~~~~~~~~ sgd.c: In function 'calculate_stress': sgd.c:16:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float r = sqrt(dx*dx + dy*dy) - terms[ij].d; ^~~~ sgd.c: In function 'fisheryates_shuffle': sgd.c:28:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] int j = rk_interval(i, &rstate); ^ sgd.c:28:17: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] int j = rk_interval(i, &rstate); ^~~~~~~~~~~ sgd.c: At top level: sgd.c:37:13: warning: no previous prototype for 'extract_adjacency' [-Wmissing-prototypes] graph_sgd * extract_adjacency(graph_t *G, int model) { ^~~~~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from sgd.c:1: sgd.c: In function 'extract_adjacency': ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:51:22: note: in expansion of macro 'N_NEW' graph->sources = N_NEW(n_nodes+1, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:52:22: note: in expansion of macro 'N_NEW' graph->pinneds = N_NEW(n_nodes, bool); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:53:22: note: in expansion of macro 'N_NEW' graph->targets = N_NEW(n_edges, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:54:22: note: in expansion of macro 'N_NEW' graph->weights = N_NEW(n_edges, float); ^~~~~ In file included from ../../lib/common/render.h:40, from neato.h:36, from sgd.c:1: ../../lib/common/types.h:605:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ED_dist(e) (((Agedgeinfo_t*)AGDATA(e))->dist) ^ sgd.c:69:39: note: in expansion of macro 'ED_dist' graph->weights[n_edges] = ED_dist(ep); ^~~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from sgd.c:1: ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:84:30: note: in expansion of macro 'N_NEW' bool *neighbours_i = N_NEW(graph->n, bool); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:85:30: note: in expansion of macro 'N_NEW' bool *neighbours_j = N_NEW(graph->n, bool); ^~~~~ sgd.c:115:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] graph->weights[x] = deg_i + deg_j - (2*intersect); ^~~~~ sgd.c: At top level: sgd.c:135:6: warning: no previous prototype for 'free_adjacency' [-Wmissing-prototypes] void free_adjacency(graph_sgd *graph) { ^~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from sgd.c:1: sgd.c: In function 'sgd': ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:169:23: note: in expansion of macro 'N_NEW' term_sgd *terms = N_NEW(n_terms, term_sgd); ^~~~~ sgd.c:196:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float eta_min = Epsilon / w_max; ^~~~~~~ sgd.c:197:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float lambda = log(eta_max/eta_min) / (MaxIter-1); ^~~ In file included from ../../lib/common/render.h:44, from neato.h:36, from sgd.c:1: ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:202:18: note: in expansion of macro 'N_NEW' float *pos = N_NEW(2*n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgd.c:203:21: note: in expansion of macro 'N_NEW' bool *unfixed = N_NEW(n, bool); ^~~~~ In file included from ../../lib/common/render.h:40, from neato.h:36, from sgd.c:1: ../../lib/common/types.h:526:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) ^ sgd.c:206:20: note: in expansion of macro 'ND_pos' pos[2*i] = ND_pos(node)[0]; ^~~~~~ ../../lib/common/types.h:526:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) ^ sgd.c:207:22: note: in expansion of macro 'ND_pos' pos[2*i+1] = ND_pos(node)[1]; ^~~~~~ sgd.c:220:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] float eta = eta_max * exp(-lambda * t); ^ sgd.c:220:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float eta = eta_max * exp(-lambda * t); ^~~~~~~ sgd.c:229:25: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float mag = sqrt(dx*dx + dy*dy); ^~~~ CCLD libneatogen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' Making all in twopigen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' CC twopiinit.lo CC circle.lo In file included from ../../lib/common/render.h:44, 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 '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 '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; ^~~~~~~ In file included from circle.c:15: circle.c: In function 'setNStepsToLeaf': circle.h:34:18: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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 of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if (nsteps < SLEAF(next)) { /* handles loops and multiedges */ ^ circle.c:40:20: warning: conversion to 'uint64_t' {aka 'long 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 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 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 of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if (SLEAF(n) > maxNStepsToLeaf) { ^ In file included from circle.c:15: circle.h:34:18: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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 from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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 of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long long unsigned int'} [-Wsign-compare] if (nsteps < SCENTER(next)) { ^ circle.c:201:19: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] SCENTER(next) = nsteps; ^~~~~~ In file included from circle.c:15: circle.c: In function 'setParentNodes': circle.h:37:20: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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 of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if (SCENTER(n) == unset) { ^~ circle.c:230:22: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] else if (SCENTER(n) > maxn) { ^ In file included from circle.c:15: circle.h:37:20: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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 from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change 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 from 'uint64_t' {aka 'long long unsigned int'} to 'double' may change 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, from circle.h:17, from circle.c:15: circle.c: In function 'getRankseps': ../../lib/common/memory.h:36:41: warning: conversion to '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); ^~~~~ CCLD libtwopigen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' Making all in sfdpgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' CC sfdpinit.lo CC spring_electrical.lo CC sparse_solve.lo CC post_process.lo CC stress_model.lo CC uniform_stress.lo sfdpinit.c: In function 'sfdp_init_graph': sfdpinit.c:62:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); ^~~~~~~~ In file included from ../../lib/common/geom.h:20, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from ./sfdp.h:19, from sfdpinit.c:17: ../../lib/common/arith.h:35:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ sfdpinit.c:64:26: note: in expansion of macro 'MIN' GD_odim(agroot(g)) = MIN(outdim, Ndim); ^~~ In file included from ../../lib/common/render.h:44, from ./sfdp.h:19, from sfdpinit.c:17: sfdpinit.c: In function 'getPos': ../../lib/common/memory.h:36:41: warning: conversion to '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:73:17: note: in expansion of macro 'N_NEW' real *pos = N_NEW(Ndim * agnnodes(g), real); ^~~~~ sfdpinit.c:70:61: warning: unused parameter 'ctrl' [-Wunused-parameter] static real *getPos(Agraph_t * g, spring_electrical_control ctrl) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ sfdpinit.c: In function 'sfdpLayout': sfdpinit.c:117:5: warning: switch missing default case [-Wswitch-default] switch (ctrl->method) { ^~~~~~ sfdpinit.c: At top level: sfdpinit.c:167:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ sfdpinit.c: In function 'late_smooth': sfdpinit.c:213:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef] #if (HAVE_GTS || HAVE_TRIANGLE) ^~~~~~~~ sfdpinit.c:213:18: warning: "HAVE_TRIANGLE" is not defined, evaluates to 0 [-Wundef] #if (HAVE_GTS || HAVE_TRIANGLE) ^~~~~~~~~~~~~ sfdpinit.c:231:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef] #if (HAVE_GTS || HAVE_TRIANGLE) ^~~~~~~~ sfdpinit.c:231: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: In function 'sfdp_layout': sfdpinit.c:335:6: warning: "HAVE_GTS" is not defined, evaluates to 0 [-Wundef] #if (HAVE_GTS || HAVE_TRIANGLE) ^~~~~~~~ sfdpinit.c:335: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:392:42: warning: unused parameter 'g' [-Wunused-parameter] static void sfdp_cleanup_graph(graph_t * g) ~~~~~~~~~~^ 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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] o->data = MALLOC(sizeof(real)*(m + 1)); ^ 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){ ^~~~~~~~~~~~~~~~~~~~~ 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){ ^~~~~~~~~~~~~~~~~~~~~~~~ spring_electrical.c: In function 'check_real_array_size': spring_electrical.c:322:34: warning: conversion to '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){ ^~~~~~~~~~~~~~~~~~~~ In file included from ../../lib/sparse/general.h:31, 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 '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); ^~~~~~ spring_electrical.c: In function 'check_int_array_size': spring_electrical.c:329:33: warning: conversion to '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){ ^~~~~~~~~ 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, 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 '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); ^~~~~~ spring_electrical.c:355:5: warning: no previous prototype for 'comp_real' [-Wmissing-prototypes] int comp_real(const void *x, const void *y){ ^~~~~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c: In function 'comp_real': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:356:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] real *xx = (real*) x; ^ ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ 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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(a, n, sizeof(real), comp_real); ^ sparse_solve.c:192:32: warning: conversion to '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, 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 '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); ^~~~~~ spring_electrical.c: In function 'beautify_leaves': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:386:31: warning: conversion to '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] leaves = MALLOC(sizeof(int)*nleaves_max); ^ 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 '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 '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 '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 '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){ ~~~~~^~~~ spring_electrical.c: In function 'spring_electrical_embedding_fast': spring_electrical.c:528:15: 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 '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 '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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ 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: post_process.c: In function 'ideal_distance_matrix': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ 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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ 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: ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:723:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ spring_electrical.c:724:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:738:15: 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 '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 '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 '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 '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 '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){ ^~ 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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lambda = sm->lambda = MALLOC(sizeof(real)*m); ^ spring_electrical.c:817:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ 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){ ^~ spring_electrical.c:829:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ 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 '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 '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 '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 '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 '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 '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 '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 '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){ ~~~~~~^~~~ spring_electrical.c: In function 'spring_electrical_embedding': spring_electrical.c:980:33: warning: conversion to '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ In file included from post_process.c:21: post_process.c: In function 'StressMajorizationSmoother_smooth': spring_electrical.c:981:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:982:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ post_process.c:825:34: warning: conversion to '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 '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: ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:995:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ~~~~^~~~~~~~~~~~~ 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){ ^~ spring_electrical.c:1018:26: warning: conversion to '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ post_process.c:931:5: warning: "UNIMPEMENTED" is not defined, evaluates to 0 [-Wundef] #if UNIMPEMENTED ^~~~~~~~~~~~ spring_electrical.c:1049:40: warning: conversion to '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ post_process.c:992:30: warning: conversion to '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 '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: post_process.c: In function 'TriangleSmoother_new': ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ spring_electrical.c:1099:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ 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: ../../lib/common/memory.h:39:41: warning: conversion to '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); ^~~~~~ 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){ ^~ post_process.c: In function 'SpringSmoother_new': ../../lib/common/memory.h:39:41: warning: conversion to '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 '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); ^~~~~~ 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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*m*dim); ^ 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; ^~ 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){ ~~~~~~~~~~~~~^ post_process.c: In function 'post_process_smoothing': post_process.c:1278:3: warning: switch missing default case [-Wswitch-default] switch (ctrl->smoothing){ ^~~~~~ 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 '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1335:15: 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 '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 '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 '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 '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 '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){ ^~ 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); ^ 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){ ^~ 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; ^~ spring_electrical.c: In function 'spring_electrical_spring_embedding': spring_electrical.c:1562:33: warning: conversion to '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 '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 '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 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1580:15: 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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); ^~ CC Multilevel.lo CC PriorityQueue.lo In file included from ../../lib/sparse/general.h:31, 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 '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, 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 '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, 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 '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 '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, 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, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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, 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, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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, 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, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to '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 '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 '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 '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 '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, 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 '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, 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 '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 '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 '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 '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 '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 '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 '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 '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 '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: ^~~~ In file included from PriorityQueue.c:18: PriorityQueue.c: In function 'PriorityQueue_new': ../../lib/common/memory.h:39:41: warning: conversion to '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:31:16: note: in expansion of macro 'N_GNEW' q->buckets = N_GNEW((ngain+1),DoubleLinkedList); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:34:14: note: in expansion of macro 'N_GNEW' q->where = N_GNEW((n+1),DoubleLinkedList); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to '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:37:13: note: in expansion of macro 'N_GNEW' q->gain = N_GNEW((n+1),int); ^~~~~~ CCLD libsfdpgen_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' Making all in osage make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' CC osageinit.lo In file included from ../../lib/common/render.h:44, from osage.h:16, from osageinit.c:19: osageinit.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to '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 '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 '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 '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, from osage.h:16, from osageinit.c:19: osageinit.c: In function 'mkClusters': ../../lib/common/memory.h:42:58: warning: conversion to '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) ^~~~~~~~~~~~~ CCLD libosage_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' Making all in gvpr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' i486-slitaz-linux-gcc ./mkdefs.c -o mkdefs ./mkdefs gdefs.h < ../../lib/gvpr/gprdata CC actions.lo CC compile.lo CC gvpr.lo CC gprstate.lo CC parse.lo CC queue.lo In file included from ./actions.h:22, 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 ./actions.h:22, 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: ../../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:25, 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, 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__) ^~~~~~~~~ actions.c: In function 'indexOf': actions.c:67:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len2 = strlen(s2) - 1; ^~~~~~ actions.c:71:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (strncmp(p, s2 + 1, len2) == 0) ^~~~ actions.c: In function 'rindexOf': actions.c:85:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int len1 = strlen(s1); ^~~~~~ actions.c:86:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int len2 = strlen(s2); ^~~~~~ actions.c:93:43: warning: conversion to 'size_t' {aka '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: In function 'copy': actions.c:194:5: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ In file included from gprstate.c:27: ../../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': actions.c: In function 'cmppair': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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())) { ^~~~~~~~~ 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) ~~~~~~~~~~~^~~~ gprstate.c: In function 'bindingcmpf': actions.c: In function 'cloneGraph': gprstate.c:74:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp (((gvprbinding*)key)->name, ((gvprbinding*)ip)->name); ^ actions.c:320:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edgepair_t* data = (edgepair_t*)malloc(sizeof(edgepair_t)*agnedges(src)); ^ 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:60: warning: conversion to 'size_t' {aka '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, from gprstate.c:25: gprstate.c: In function 'addBindings': ../../lib/ast/ast.h:71:94: warning: conversion to '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort (buf, n, sizeof(gvprbinding), bindingcmpf); ^ actions.c: In function 'clone': actions.c:398:5: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ actions.c: In function 'fwriteFile': actions.c:654:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) ^~ actions.c: In function 'freadFile': actions.c:666:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) ^~ actions.c: In function 'openFile': actions.c:679:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (idx = 3; idx < elementsof(ex->file); idx++) ^ actions.c: In function 'readLine': In file included from parse.c:21: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ actions.c:722:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) || !((sp = ex->file[fd]))) { ^~ In file included from actions.c:23: ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^~ actions.c:726:12: note: in expansion of macro 'sfstropen' tmps = sfstropen(); ^~~~~~~~~ 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) ~~~~~~~~~~~^~~~ 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 from 'int' to 'char' may change value [-Wconversion] *ptr++ = c; ^ parse.c:184:12: warning: conversion from 'int' to 'char' may change 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 from 'int' to 'char' may change value [-Wconversion] if (endString(ins, outs, c)) return -1; ^ parse.c: In function 'parseBracket': parse.c:318:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] c = endBracket(str, buf, bc, ec); ^~ parse.c:318:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] c = endBracket(str, buf, bc, ec); ^~ In file included from parse.c:21: parse.c: In function 'parseCase': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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)) { ^~~~~~ In file included from ./gprstate.h:25, 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, 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: ../../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:25, 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, 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: ../../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, from gvpr.c:29: gvpr.c: In function 'parseArgs': ../../lib/ast/ast.h:72:62: warning: conversion to '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 '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: gvpr.c: In function 'concat': ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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: ../../lib/common/globals.h:64:26: note: shadowed declaration is here EXTERN unsigned char Verbose; ^~~~~~~ In file included from gvpr.c:37: ../../lib/ast/sfstr.h:30:47: warning: unsigned conversion from 'int' to 'size_t' {aka 'unsigned int'} changes value from '-1' to '4294967295' [-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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] sz = sfprintf(fp, path); ^~~~~~~~ In file included from gprstate.h:23, from gvpr.c:29: gvpr.c: In function 'scanArgs': ../../lib/ast/ast.h:71:94: warning: conversion to '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 from 'long long int' to 'int' may change value [-Wconversion] okay = (exeval(prog, cs->guard, state)).integer; ^ gvpr.c: In function 'evalNode': gvpr.c:495:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] okay = (exeval(prog, cs->guard, state)).integer; ^ gvpr.c: At top level: gvpr.c:550:38: warning: cast between incompatible function types from 'Agedge_t * (*)(Agraph_t *, Agedge_t *)' {aka 'struct Agedge_s * (*)(struct Agraph_s *, struct Agedge_s *)'} to 'Agedge_t * (*)(Agraph_t *, Agedge_t *, Agnode_t *)' {aka 'struct Agedge_s * (*)(struct Agraph_s *, struct Agedge_s *, struct Agnode_s *)'} [-Wcast-function-type] static trav_fns FWDfns = { agfstout, (nxttedgefn_t) agnxtout, 0, 0 }; ^ gvpr.c:551:37: warning: cast between incompatible function types from 'Agedge_t * (*)(Agraph_t *, Agedge_t *)' {aka 'struct Agedge_s * (*)(struct Agraph_s *, struct Agedge_s *)'} to 'Agedge_t * (*)(Agraph_t *, Agedge_t *, Agnode_t *)' {aka 'struct Agedge_s * (*)(struct Agraph_s *, struct Agedge_s *, struct Agnode_s *)'} [-Wcast-function-type] static trav_fns REVfns = { agfstin, (nxttedgefn_t) agnxtin, 0, 0 }; ^ 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, from gvpr.c:29: gvpr.c: In function 'addOutputGraph': ../../lib/ast/ast.h:72:62: warning: conversion to '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 '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) ~~~~~~~~~~^~~~~~~~~~ compile.c: In function 'iofread': compile.c:55:49: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return read(sffileno((Sfio_t *) chan), buf, bufsize); ^~~~~~~ compile.c: In function 'bbOf': compile.c:127:33: warning: conversion to 'size_t' {aka '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy(s, pt, len); ^~~ compile.c: In function 'xyOf': compile.c:152:33: warning: conversion to 'size_t' {aka '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 '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, from compile.c:42: compile.c: In function 'assignable': compile.c:359:24: warning: unsigned conversion from 'int' to 'unsigned int' changes value from '-128' to '4294967168' [-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 from 'unsigned int' to 'char' may change 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 from 'int' to 'char' may change 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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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:42: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] v.integer = fwriteFile(pgm, gp, args[1].integer, state->dfltIO); ~~~~~~~^~~~~~~~ compile.c:1212:33: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] gp = freadFile(pgm, args[0].integer); ~~~~~~~^~~~~~~~ compile.c:1219:40: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] v.integer = closeFile(pgm, args[0].integer); ~~~~~~~^~~~~~~~ compile.c:1222:38: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] v.string = readLine(pgm, args[0].integer); ~~~~~~~^~~~~~~~ compile.c:1266:36: warning: conversion from 'long long int' to 'int' may change 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:1513:31: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] v.string = getArg(args[0].integer, state); ~~~~~~~^~~~~~~~ compile.c:1529:2: warning: switch missing default case [-Wswitch-default] switch (sym->index) { ^~~~~~ compile.c: In function 'typeName': compile.c:1590:32: warning: unused parameter 'pg' [-Wunused-parameter] static char *typeName(Expr_t * pg, int op) ~~~~~~~~~^~ compile.c: In function 'setval': compile.c:1624:11: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] iv = v.integer; ^ compile.c:1625:20: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] if (validTVT(v.integer)) ~^~~~~~~~ compile.c:1602:23: warning: unused parameter 'elt' [-Wunused-parameter] void *env, int elt, Extype_t v, Exdisc_t * disc) ~~~~^~~ compile.c:1602:51: warning: unused parameter 'disc' [-Wunused-parameter] void *env, int elt, Extype_t v, Exdisc_t * disc) ~~~~~~~~~~~^~~~ compile.c: In function 'typeChk': compile.c:1725:6: warning: switch missing default case [-Wswitch-default] switch (sym->index) { ^~~~~~ compile.c: In function 'refval': compile.c:1799:14: warning: unused parameter 'str' [-Wunused-parameter] char *str, int elt, Exdisc_t * disc) ~~~~~~^~~ compile.c:1799:23: warning: unused parameter 'elt' [-Wunused-parameter] char *str, int elt, Exdisc_t * disc) ~~~~^~~ compile.c: At top level: compile.c:1869: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:1891:7: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] li = l->data.constant.value.integer; ^ compile.c:1892:7: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] ri = r->data.constant.value.integer; ^ compile.c:1893:2: warning: switch missing default case [-Wswitch-default] switch (ex->op) { ^~~~~~ compile.c:1942:5: warning: switch missing default case [-Wswitch-default] switch (ex->op) { ^~~~~~ compile.c:1869:17: warning: unused parameter 'pg' [-Wunused-parameter] binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg, ~~~~~~~~~^~ compile.c:1870:19: warning: unused parameter 'disc' [-Wunused-parameter] Exdisc_t * disc) ~~~~~~~~~~~^~~~ compile.c: In function 'stringOf': compile.c:2098:41: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] tvtypeToStr (x->data.constant.value.integer))) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ compile.c: In function 'convert': compile.c:2148:6: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ compile.c:2174:42: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] tvtypeToStr (x->data.constant.value.integer); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ compile.c:2190:42: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] else if (validTVT(x->data.constant.value.integer)) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ compile.c:2212:12: warning: conversion from 'int' to 'Exshort_t' {aka 'short int'} may change value [-Wconversion] x->type = type; ^~~~ compile.c:2125:18: warning: unused parameter 'prog' [-Wunused-parameter] convert(Expr_t * prog, register Exnode_t * x, int type, ~~~~~~~~~^~~~ compile.c:2126:20: warning: unused parameter 'xref' [-Wunused-parameter] register Exid_t * xref, int arg, Exdisc_t * disc) ~~~~~~~~~~~~~~~~~~^~~~ compile.c:2126:46: warning: unused parameter 'disc' [-Wunused-parameter] register Exid_t * xref, int arg, Exdisc_t * disc) ~~~~~~~~~~~^~~~ In file included from ./gprstate.h:22, from compile.h:23, from compile.c:25: compile.c: In function 'keyval': ../../lib/cgraph/cgraph.h:114:20: warning: conversion to 'long long int' from 'IDTYPE' {aka 'long long unsigned int'} may change the sign of the result [-Wsign-conversion] #define AGID(obj) (AGTAG(obj).id) ^ compile.c:2223:14: note: in expansion of macro 'AGID' v.integer = AGID(INT2PTR(Agobj_t *, v.integer)); ^~~~ compile.c:2220:33: warning: unused parameter 'pgm' [-Wunused-parameter] static Extype_t keyval(Expr_t * pgm, Extype_t v, int type, Exdisc_t * disc) ~~~~~~~~~^~~ compile.c:2220: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:2232:19: warning: unused parameter 'pgm' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ~~~~~~~~~^~~ compile.c:2232:35: warning: unused parameter 'xstr' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ~~~~~~~~~~~^~~~ compile.c:2232:69: warning: unused parameter 'xpat' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ~~~~~~~~~~~^~~~ compile.c:2233:26: warning: unused parameter 'env' [-Wunused-parameter] const char *pat, void *env, Exdisc_t * disc) ~~~~~~^~~ compile.c:2233:42: warning: unused parameter 'disc' [-Wunused-parameter] const char *pat, void *env, Exdisc_t * disc) ~~~~~~~~~~~^~~~ compile.c: In function 'initDisc': compile.c:2271:15: warning: cast between incompatible function types from 'void (*)(void *, void *, int, ...)' to 'int (*)(Expr_t *, Exdisc_t *, int, const char *, ...)' {aka 'int (*)(struct Expr_s *, struct Exdisc_s *, int, const char *, ...)'} [-Wcast-function-type] dp->errorf = (Exerror_f) errorf; ^ In file included from ./gprstate.h:23, from compile.h:23, from compile.c:25: compile.c: In function 'mkStmts': ../../lib/ast/ast.h:71:94: warning: conversion to '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:2350: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 '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:2501: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:2583:6: warning: no previous prototype for 'ptchk' [-Wmissing-prototypes] void ptchk(void) ^~~~~ actions.c: In function 'hsv2rgb': actions.c:852:2: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ actions.c: In function 'rgb2hsv': actions.c:905:8: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r == rgbmax) ^~ actions.c:907:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (g == rgbmax) ^~ actions.c:909:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (b == rgbmax) ^~ actions.c: In function 'colorcmpf': actions.c:935:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcasecmp(((hsvrgbacolor_t *) p0)->name, ((hsvrgbacolor_t *) p1)->name); ^ actions.c:935: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:946:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(str); ^~~~~~ In file included from ../../lib/expr/expr.h:28, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to '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:949:10: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to '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:949:10: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ actions.c:958:10: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] c = tolower(c); ^~~~~~~ actions.c: In function 'fullColor': actions.c:972:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int len = strlen (prefix) + strlen (str) + 3; ^~~~~~ In file included from ../../lib/expr/expr.h:28, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to '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:976:10: note: in expansion of macro 'newof' fulls = newof(fulls, char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to '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:976:10: note: in expansion of macro 'newof' fulls = newof(fulls, char, allocated, 0); ^~~~~ actions.c: In function 'colorxlate': actions.c:1087:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[0] = r; ^ actions.c:1088:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[1] = g; ^ actions.c:1089:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[2] = b; ^ actions.c:1090:25: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[3] = a; ^ actions.c:1097:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ actions.c:1098:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ actions.c:1099:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ actions.c:1100:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ actions.c:1103: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:1104: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:1105: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:1106: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:1074:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1125:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen((char*)p); ^~~~~~ In file included from ../../lib/expr/expr.h:28, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to '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:1128:14: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to '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:1128:14: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ actions.c:1160:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[0] = (int) (R * 255); ^ actions.c:1161:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[1] = (int) (G * 255); ^ actions.c:1162:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[2] = (int) (B * 255); ^ actions.c:1163:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.rgba[3] = (int) (A * 255); ^ actions.c:1168:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ actions.c:1169:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ actions.c:1170:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ actions.c:1171:22: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ actions.c:1151:6: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1228:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[0] = (int) C * 255; ^ actions.c:1229:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[1] = (int) M * 255; ^ actions.c:1230:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[2] = (int) Y * 255; ^ actions.c:1231:25: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] color->u.cmyk[3] = (int) K * 255; ^ actions.c:1210:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1255:5: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ 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:949:15: warning: variable 'nextg' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Agraph_t* nextg = NULL; ^~~~~ actions.c: In function 'colorx': actions.c:1324:5: warning: 'alpha' may be used uninitialized in this function [-Wmaybe-uninitialized] if (alpha) ^ CCLD libgvpr.la CCLD libgvpr_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' Making all in spine make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' CC quad.lo CC spine.lo CC subset.lo CC union_find.lo quad.c: In function 'cmpdeg': quad.c:12:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Agnode_t *n0 = *(Agnode_t **) v0; ^ quad.c:13:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Agnode_t *n1 = *(Agnode_t **) v1; ^ In file included from quad.c:6: quad.c: In function 'genQuads': spinehdr.h:12:38: warning: conversion to 'size_t' {aka '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 '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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(arr, nnodes, sizeof(Agnode_t *), cmpdeg); ^~~~~~ spine.c: In function 'reweightEdge': spine.c:199:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] ED_wt(e) = maxwt; ^~~~~ spine.c: In function 'setEdgeWeights': spine.c:252:6: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] quadv / ^~~~~ spine.c: In function 'computeIndex': spine.c:328:26: warning: conversion from 'size_t' {aka 'unsigned int'} to 'float' may change value [-Wconversion] size_t r = ceilf(nedges * (1 - s)); ^ spine.c:328:13: warning: conversion from 'float' to 'size_t' {aka 'unsigned int'} may change 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 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] nedges = agnedges(g); ^~~~~~~~ spine.c:427:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, "Graph %s %d nodes %lu edges:\n", agnameof(g), ~~^ %u agnnodes(g), nedges); ~~~~~~ spine.c:484:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, " index %lu out of %lu\n", index, nedges); ~~^ ~~~~~ %u spine.c:484:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, " index %lu out of %lu\n", index, nedges); ~~^ ~~~~~~ %u CCLD libspine_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' Making all in plugin make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' Making all in core make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' CC gvplugin_core.lo CC gvrender_core_dot.lo CC gvrender_core_json.lo CC gvrender_core_map.lo CC gvrender_core_fig.lo CC gvrender_core_mp.lo CC gvrender_core_ps.lo gvrender_core_map.c: In function 'map_output_shape': gvrender_core_map.c:40:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] A = realloc(A, size_A * sizeof(point)); ^ gvrender_core_fig.c: In function 'fig_string': gvrender_core_fig.c:69:30: warning: conversion to '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 '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 from 'int' to 'short int' may change value [-Wconversion] red[c] = r; ^ gvrender_core_fig.c:124:16: warning: conversion from 'int' to 'short int' may change value [-Wconversion] green[c] = g; ^ gvrender_core_fig.c:125:15: warning: conversion from 'int' to 'short int' may change 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 '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 from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c: In function 'fig_bezier': gvrender_core_fig.c:338:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c:364:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c: In function 'fig_polyline': gvrender_core_fig.c:460:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c: In function 'mp_string': gvrender_core_mp.c:71:30: warning: conversion to '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 '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 from 'int' to 'short int' may change value [-Wconversion] red[c] = r; ^ gvrender_core_mp.c:126:16: warning: conversion from 'int' to 'short int' may change value [-Wconversion] green[c] = g; ^ gvrender_core_mp.c:127:15: warning: conversion from 'int' to 'short int' may change 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_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_mp.c: In function 'mp_ellipse': gvrender_core_mp.c:294:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_json.c: In function 'set_attrwf': gvrender_core_json.c:147:19: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(g) = value; ^~~~~ gvrender_core_json.c:153:20: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(n) = value; ^~~~~ gvrender_core_mp.c: In function 'mp_bezier': gvrender_core_json.c:155:17: warning: conversion from 'int' to 'unsigned char:1' may change value [-Wconversion] AGATTRWF(e) = value; ^~~~~ gvrender_core_mp.c:331:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c:354:41: warning: conversion to '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 from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c: In function 'mp_polyline': gvrender_core_mp.c:450:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ 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_dot.c: In function 'xdot_point': gvrender_core_dot.c:145:32: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] static void xdot_point(agxbuf *xbuf, pointf p) ~~~~~~~~^~~~ gvrender_core_dot.c:56:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c: In function 'xdot_num': gvrender_core_dot.c:154:30: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] static void xdot_num(agxbuf *xbuf, double v) ~~~~~~~~^~~~ gvrender_core_dot.c:56:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c: In function 'xdot_style': gvrender_core_dot.c:200:12: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] agxbuf xbuf; ^~~~ gvrender_core_dot.c:56:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c:207:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (job->obj->penwidth != penwidth[job->obj->emit_state]) { ^~ CC gvrender_core_svg.lo gvrender_core_dot.c: In function 'versionStr2Version': gvrender_core_dot.c:359:10: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] us = atoi(buf); ^~~~ 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_dot.c: In function 'xdot_begin_graph': gvrender_core_dot.c:402:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] xd->version = us; ^~ 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_dot.c: In function 'dot_begin_graph': gvrender_core_dot.c:454: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:512:5: warning: switch missing default case [-Wswitch-default] switch (job->render.id) { ^~~~~~ gvrender_core_dot.c: In function 'xdot_textspan': gvrender_core_dot.c:568:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int bits = flags & mask; ^ 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; ^~~~~~~ gvrender_core_dot.c: In function 'xdot_gradient_fillcolor': gvrender_core_dot.c:598:12: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] agxbuf xbuf; ^~~~ gvrender_core_dot.c:56:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c:600:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] float angle = obj->gradient_angle * M_PI / 180; ^~~ gvrender_core_dot.c:619:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] r1 = G[1].x; ^ gvrender_core_dot.c:620:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] r2 = G[1].y; ^ gvrender_core_dot.c:621: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:682: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:682: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:721: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:732:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] xdot_str (job, "", (char*)(us->name)); ^ gvrender_core_dot.c:721:72: warning: unused parameter 'filled' [-Wunused-parameter] void core_loadimage_xdot(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ~~~~~~~~^~~~~~ 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) ~~~~^~~~~~~~~~~~ CC gvrender_core_tk.lo CC gvrender_core_vml.lo gvrender_core_svg.c: In function 'svg_bzptarray': gvrender_core_svg.c:60:5: warning: "EDGEALIGN" is not defined, evaluates to 0 [-Wundef] #if EDGEALIGN ^~~~~~~~~ gvrender_core_svg.c:73:5: warning: "EDGEALIGN" is not defined, evaluates to 0 [-Wundef] #if EDGEALIGN ^~~~~~~~~ gvrender_core_svg.c: In function 'svg_grstyle': gvrender_core_svg.c:144: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:232:63: warning: unused parameter 'layerNum' [-Wunused-parameter] static void svg_begin_layer(GVJ_t * job, char *layername, int layerNum, ~~~~^~~~~~~~ gvrender_core_svg.c:233:12: warning: unused parameter 'numLayers' [-Wunused-parameter] int numLayers) ~~~~^~~~~~~~~ gvrender_core_svg.c: In function 'svg_gradstyle': gvrender_core_svg.c:516:13: warning: conversion from 'double' to 'float' may change 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:570:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] angle = obj->gradient_angle * M_PI / 180; //angle of gradient line ^~~ gvrender_core_svg.c:573:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (angle == 0.) { ^~ gvrender_core_svg.c:576:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ifx = 50 * (1 + cos(angle)); ^~ gvrender_core_svg.c:577:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] ify = 50 * (1 - sin(angle)); ^~ gvrender_core_svg.c:561:49: warning: unused parameter 'A' [-Wunused-parameter] static int svg_rgradstyle(GVJ_t * job, pointf * A, int n) ~~~~~~~~~^ gvrender_core_svg.c:561: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:628: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:629:9: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ~~~~^~~~~~~~~~~~ In file included from ../../lib/common/types.h:39, 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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:114:20: warning: conversion from 'IDTYPE' {aka 'long long unsigned int'} to 'unsigned int' may change 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) ~~~~^~~~~~ CC gvrender_core_pov.lo CC gvloadimage_core.lo CC gvrender_core_pic.lo gvrender_core_vml.c: In function 'vml_grstroke': gvrender_core_vml.c:104:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (obj->penwidth != PENWIDTH_NORMAL) ^~ gvrender_core_vml.c:98:43: warning: unused parameter 'filled' [-Wunused-parameter] static void vml_grstroke(GVJ_t * job, int filled) ~~~~^~~~~~ gvrender_core_vml.c: At top level: gvrender_core_vml.c:129:7: warning: no previous prototype for 'html_string' [-Wmissing-prototypes] char *html_string(char *s) ^~~~~~~~~~~ gvrender_core_vml.c: In function 'html_string': gvrender_core_vml.c:144:16: warning: conversion to 'size_t' {aka '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 '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 from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change 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) ~~~~^~~~~~~~~~~~ gvrender_core_pic.c: In function 'pic_string': gvrender_core_pic.c:160:30: warning: conversion to '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 '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; ^ 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) ~~~~~~~~^~~~~~ gvrender_core_pic.c: In function 'pic_bezier': gvrender_core_pic.c:425:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1) * 20 * sizeof(char)); ^ 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) ~~~~~~~~^~~~~~ 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, ~~~~^~~~~~~~~~~~~~ gvloadimage_core.c: In function 'core_loadimage_vrml': gvrender_core_pic.c:396:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ~~~~^~~~~~~~~~~~ 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) ~~~~~~~~^~~~~~ 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) ~~~~^~~~~~ gvloadimage_core.c: In function 'core_loadimage_ps': gvloadimage_core.c:177:18: warning: conversion to 'size_t' {aka '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:29: warning: conversion to 'size_t' {aka '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:246: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:243: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:252: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:260: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:260:33: warning: unused parameter 'gvc' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ~~~~~~~^~~ gvloadimage_core.c:260:51: warning: unused parameter 'us' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ~~~~~~~~~~~~~^~ gvloadimage_core.c:260:60: warning: unused parameter 'b' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ~~~~~^ gvloadimage_core.c:260:71: warning: unused parameter 'filled' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ~~~~~~~~^~~~~~ 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:20: warning: conversion to 'size_t' {aka '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 from 'double' to 'float' may change value [-Wfloat-conversion] x = job->view.x / 2.0 * job->scale.x; ^~~ gvrender_core_pov.c:507:6: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] y = job->view.y / 2.0 * job->scale.y; ^~~ gvrender_core_pov.c:509:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] px = atanf(x / fabsf(d)) * 180 / M_PI * 2; ^~~~~ gvrender_core_pov.c:510:7: warning: conversion from 'double' to 'float' may change 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 from 'int' to 'float' may change value [-Wconversion] layerz = layerNum * -10; ^~~~~~~~ gvrender_core_pov.c: In function 'pov_ellipse': gvrender_core_pov.c:647:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] cx = (A[0].x + job->translation.x) * job->scale.x; ^ gvrender_core_pov.c:648:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] cy = (A[0].y + job->translation.y) * job->scale.y; ^ gvrender_core_pov.c:649:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] rx = (A[1].x - A[0].x) * job->scale.x; ^ gvrender_core_pov.c:650:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] ry = (A[1].y - A[0].y) * job->scale.y; ^ gvrender_core_pov.c:651:6: warning: conversion from 'double' to 'float' may change 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) ~~~~^~~~~~ CCLD libgvplugin_core_C.la CCLD libgvplugin_core.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' Making all in devil make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' Making all in gd make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' CC gvplugin_gd.lo CC gvrender_gd.lo CC gvrender_gd_vrml.lo CC gvtextlayout_gd.lo CC gvloadimage_gd.lo CC gvdevice_gd.lo gvloadimage_gd.c: In function 'gd_loadimage_gd': gvloadimage_gd.c:113:75: warning: unused parameter 'filled' [-Wunused-parameter] static void gd_loadimage_gd(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ~~~~~~~~^~~~~~ gvloadimage_gd.c: In function 'gd_loadimage_ps': gvloadimage_gd.c:192:75: warning: unused parameter 'filled' [-Wunused-parameter] static void gd_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ~~~~~~~~^~~~~~ gvtextlayout_gd.c:105:7: warning: no previous prototype for 'gd_psfontResolve' [-Wmissing-prototypes] char* gd_psfontResolve (PostscriptAlias* pa) ^~~~~~~~~~~~~~~~ gvrender_gd.c: In function 'gdgen_begin_page': gvrender_gd.c:105:20: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] job->width *= scale; ^~~~~ gvrender_gd.c:106:21: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] job->height *= scale; ^~~~~ gvrender_gd.c:119:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(job->width, job->height); ~~~^~~~~~~ gvrender_gd.c:119:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(job->width, job->height); ~~~^~~~~~~~ gvrender_gd.c:127:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreate(job->width, job->height); ~~~^~~~~~~ gvrender_gd.c:127:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreate(job->width, job->height); ~~~^~~~~~~~ gvrender_gd.c:80:13: warning: variable 'bg_transparent_p' set but not used [-Wunused-but-set-variable] boolean bg_transparent_p = FALSE; ^~~~~~~~~~~~~~~~ gvrender_gd.c: In function 'gdgen_end_page': gvrender_gd.c:216:7: warning: declaration of 'black' shadows a global declaration [-Wshadow] int black = gdImageColorResolveAlpha(im, 0, 0, 0, gdAlphaOpaque); ^~~~~ gvrender_gd.c:72:19: note: shadowed declaration is here static int white, black, transparent, basecolor; ^~~~~ gvrender_gd.c:184:2: warning: switch missing default case [-Wswitch-default] switch (job->render.id) { ^~~~~~ gvrender_gd.c: In function 'gdgen_missingfont': gvrender_gd.c:252:37: warning: unused parameter 'err' [-Wunused-parameter] static void gdgen_missingfont(char *err, char *fontreq) ~~~~~~^~~ gvrender_gd.c: At top level: gvrender_gd.c:298:6: warning: no previous prototype for 'gdgen_text' [-Wmissing-prototypes] void gdgen_text(gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str) ^~~~~~~~~~ gvrender_gd.c: In function 'gdgen_textspan': gvrender_gd.c:405:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] job->dpi.x, ~~~~~~~~^~ gvrender_gd.c: In function 'gdgen_set_penstyle': gvrender_gd.c:434:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] width = obj->penwidth * job->zoom; ^~~ gvrender_gd.c:439:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (width != PENWIDTH_NORMAL) { ^~ gvrender_gd.c: In function 'gdgen_bezier': gvrender_gd.c:460:50: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] gdgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ~~~~^~~~~~~~~~~~~~ gvrender_gd.c:461:11: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ~~~~^~~~~~~~~~~~ gvrender_gd.c: In function 'gdgen_polygon': gvrender_gd.c:524:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] points = realloc(points, n * sizeof(gdPoint)); ^ gvrender_gd_vrml.c: In function 'color_index': gvrender_gd_vrml.c:139:35: warning: declaration of 'im' shadows a global declaration [-Wshadow] static int color_index(gdImagePtr im, gvcolor_t color) ~~~~~~~~~~~^~ gvrender_gd_vrml.c:56:19: note: shadowed declaration is here static gdImagePtr im; ^~ gvrender_gd_vrml.c: In function 'set_penstyle': gvrender_gd_vrml.c:156:49: warning: declaration of 'im' shadows a global declaration [-Wshadow] static int set_penstyle(GVJ_t * job, gdImagePtr im, gdImagePtr brush) ~~~~~~~~~~~^~ gvrender_gd_vrml.c:56:19: note: shadowed declaration is here static gdImagePtr im; ^~ gvrender_gd_vrml.c:178:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] width = obj->penwidth * job->scale.x; ^~~ gvrender_gd_vrml.c:183:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (width != PENWIDTH_NORMAL) { ^~ gvrender_gd_vrml.c: In function 'vrml_begin_node': gvrender_gd_vrml.c:246:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] width = (ND_lw(n) + ND_rw(n)) * Scale + 2 * NODE_PAD; ^ gvrender_gd_vrml.c:247:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] height = (ND_ht(n) ) * Scale + 2 * NODE_PAD; ^ gvrender_gd_vrml.c: In function 'vrml_end_node': gvrender_gd_vrml.c:258:34: warning: unused parameter 'job' [-Wunused-parameter] static void vrml_end_node(GVJ_t *job) ~~~~~~~^~~ gvrender_gd_vrml.c: In function 'finishSegment': gvrender_gd_vrml.c:309:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (!x && !z) /* parallel to y-axis */ ^ gvrender_gd_vrml.c:309:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (!x && !z) /* parallel to y-axis */ ^ gvrender_gd_vrml.c: In function 'interpolate_zcoord': gvrender_gd_vrml.c:378:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (fstz == sndz) ^~ gvrender_gd_vrml.c:381:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (snd.y == fst.y) ^~ gvdevice_gd.c:21:5: warning: no previous prototype for 'gvdevice_gd_putBuf' [-Wmissing-prototypes] int gvdevice_gd_putBuf (gdIOCtx *context, const void *buffer, int len) ^~~~~~~~~~~~~~~~~~ gvdevice_gd.c: In function 'gvdevice_gd_putBuf': gvdevice_gd.c:23:54: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return gvwrite((GVJ_t *)(context->tell), buffer, len); ^~~ gvdevice_gd.c:23:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] return gvwrite((GVJ_t *)(context->tell), buffer, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvdevice_gd.c: At top level: gvdevice_gd.c:27:6: warning: no previous prototype for 'gvdevice_gd_putC' [-Wmissing-prototypes] void gvdevice_gd_putC (gdIOCtx *context, int C) ^~~~~~~~~~~~~~~~ gvdevice_gd.c: In function 'gvdevice_gd_putC': gvdevice_gd.c:29:14: warning: conversion from 'int' to 'char' may change value [-Wconversion] char c = C; ^ gvrender_gd_vrml.c: In function 'vrml_bezier': gvrender_gd_vrml.c:469:48: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ~~~~^~~~~~~~~~~~~~ gvrender_gd_vrml.c:469:68: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ~~~~^~~~~~~~~~~~ gvrender_gd_vrml.c:469:86: warning: unused parameter 'filled' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ~~~~^~~~~~ In file included from gvrender_gd_vrml.c:29: gvrender_gd_vrml.c: In function 'vrml_polygon': ../../lib/common/memory.h:40:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GGNEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gvrender_gd_vrml.c:587:11: note: in expansion of macro 'N_GGNEW' points = N_GGNEW(np, gdPoint); ^~~~~~~ gvrender_gd_vrml.c:574:5: warning: switch missing default case [-Wswitch-default] switch (obj->type) { ^~~~~~ gvrender_gd_vrml.c: In function 'doSphere': gvrender_gd_vrml.c:677:31: warning: unused parameter 'n' [-Wunused-parameter] doSphere (GVJ_t *job, node_t *n, pointf p, double z, double rx, double ry) ~~~~~~~~^ gvrender_gd_vrml.c:677:72: warning: unused parameter 'ry' [-Wunused-parameter] doSphere (GVJ_t *job, node_t *n, pointf p, double z, double rx, double ry) ~~~~~~~^~ gvrender_gd_vrml.c: In function 'vrml_ellipse': gvrender_gd_vrml.c:725:5: warning: switch missing default case [-Wswitch-default] switch (obj->type) { ^~~~~~ CCLD libgvplugin_gd_C.la CCLD libgvplugin_gd.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' Making all in gdk make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' Making all in gdiplus make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' Making all in glitz make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' Making all in gs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' Making all in gtk make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' Making all in lasi make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' Making all in ming make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' Making all in pango make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' Making all in quartz make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' Making all in rsvg make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' Making all in visio make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' CC gvplugin_visio.lo CXX VisioGraphic.lo CXX VisioRender.lo CXX VisioText.lo CXX gvrender_visio_vdx.lo CXXLD libgvplugin_visio_C.la CXXLD libgvplugin_visio.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' Making all in xlib make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' Making all in dot_layout make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' CC gvplugin_dot_layout.lo CC gvlayout_dot_layout.lo CCLD libgvplugin_dot_layout_C.la CCLD libgvplugin_dot_layout.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' Making all in neato_layout make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' CC gvplugin_neato_layout.lo CC gvlayout_neato_layout.lo CCLD libgvplugin_neato_layout_C.la CCLD libgvplugin_neato_layout.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' Making all in webp make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' CC gvplugin_webp.lo CC gvloadimage_webp.lo CC gvdevice_webp.lo gvdevice_webp.c: In function 'webp_format': gvdevice_webp.c:61:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] picture.width = job->width; ^~~ gvdevice_webp.c:62:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] picture.height = job->height; ^~~ gvdevice_webp.c:63:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stride = 4 * job->width; ^ CCLD libgvplugin_webp_C.la CCLD libgvplugin_webp.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' Making all in poppler make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' Making all in cmd make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' Making all in dot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' CC dot-dot.o CC dot-no_builtins.o CC dot_builtins-dot.o CC dot_builtins-dot_builtins.o dot.c: In function 'intr': dot.c:41:22: warning: unused parameter 's' [-Wunused-parameter] static void intr(int s) ~~~~^ dot.c: In function 'intr': dot.c:41:22: warning: unused parameter 's' [-Wunused-parameter] static void intr(int s) ~~~~^ CCLD dot_builtins CCLD dot make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' Making all in tools make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' CC gc.o CC gvcolor.o CC colxlate.o CC cvtgxl.o CC gv2gxl.o CC gxl2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gvcolor.c: In function 'init': gvcolor.c:92:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvcolor.c: In function 'color': gvcolor.c:143:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] nlist = (Agnode_t **) malloc(nn * sizeof(Agnode_t *)); ^ gvcolor.c:170:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ND_x(n)[j] != 0.0) ^~ gc.c: In function 'init': gc.c:92:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, "necCaDUrsv")) != -1) { ^~~~~~ gc.c:92:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while ((c = getopt(argc, argv, "necCaDUrsv")) != -1) { ^~ gc.c:93:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gc.c: In function 'cntCluster': gc.c:232:35: warning: unused parameter 'g' [-Wunused-parameter] static void cntCluster(Agraph_t * g, Agobj_t * sg, void *arg) ~~~~~~~~~~~^ gc.c: In function 'wcp': gc.c:264:66: warning: declaration of 'fname' shadows a global declaration [-Wshadow] wcp(int nnodes, int nedges, int ncc, int ncl, char *gname, char *fname) ~~~~~~^~~~~ gc.c:62:14: note: shadowed declaration is here static char *fname; ^~~~~ colxlate.c: In function 'canoncolor': colxlate.c:56:10: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] c = tolower(c); ^~~~~~~ colxlate.c: In function 'colorcmpf': colxlate.c:65:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] hsbcolor_t *p0 = (hsbcolor_t *) a0; ^ colxlate.c:66:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] hsbcolor_t *p1 = (hsbcolor_t *) a1; ^ colxlate.c: At top level: colxlate.c:71:7: warning: no previous prototype for 'colorxlate' [-Wmissing-prototypes] char *colorxlate(char *str, char *buf) ^~~~~~~~~~ cvtgxl.c: In function 'openFile': cvtgxl.c:60:41: warning: declaration of 'mode' shadows a global declaration [-Wshadow] static FILE *openFile(char *name, char *mode) ~~~~~~^~~~ cvtgxl.c:27:37: note: shadowed declaration is here typedef enum { Unset, ToGV, ToGXL } mode; ^~~~ cvtgxl.c: In function 'initargs': cvtgxl.c:145:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gv2gxl.c: In function 'make_nitem': gv2gxl.c:57:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~^ gv2gxl.c:57:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gv2gxl.c: In function 'free_nitem': gv2gxl.c:65:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~^ gv2gxl.c:65:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gv2gxl.c: In function 'free_iditem': gv2gxl.c:87:32: warning: unused parameter 'd' [-Wunused-parameter] static void free_iditem(Dt_t * d, idv_t * idp, Dtdisc_t * disc) ~~~~~~~^ gv2gxl.c:87:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_iditem(Dt_t * d, idv_t * idp, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gv2gxl.c: In function '_xml_string': gv2gxl.c:21:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:182:8: note: in expansion of macro 'N_NEW' buf = N_NEW(bufsize, char); ^~~~~ gv2gxl.c:189:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize); ^~~~~~~ gv2gxl.c: In function 'createEdgeId': gv2gxl.c:326:19: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int baselen = strlen(hname) + strlen(tname) + sizeof(EDGEOP); ^~~~~~ gv2gxl.c:21:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:335:7: note: in expansion of macro 'N_NEW' bp = N_NEW(len, char); ^~~~~ gxl2gv.c: In function 'pushString': gxl2gv.c:54:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ gxl2gv.c:58:14: note: in expansion of macro 'ROUND2' int sz = ROUND2(sizeof(slist) + strlen(s), sizeof(void *)); ^~~~~~ gxl2gv.c:52:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gxl2gv.c:59:27: note: in expansion of macro 'N_NEW' slist *sp = (slist *) N_NEW(sz, char); ^~~~~ gv2gxl.c: In function 'writeDict': gv2gxl.c:408:22: warning: unused parameter 'g' [-Wunused-parameter] writeDict(Agraph_t * g, FILE * gxlFile, char *name, Dict_t * dict, ~~~~~~~~~~~^ gv2gxl.c: In function 'writeHdr': gxl2gv.c: In function 'make_nitem': gv2gxl.c:511:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(name) + sizeof("N_"); ^~~~~~ gxl2gv.c:124:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~^ gxl2gv.c:124:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gv2gxl.c:21:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:515:20: note: in expansion of macro 'N_NEW' bp = dynbuf = N_NEW(len, char); ^~~~~ gxl2gv.c: In function 'free_nitem': gxl2gv.c:132:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~^ gxl2gv.c:132:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gv2gxl.c: In function 'writeEdgeName': gxl2gv.c: In function 'bind_node': gxl2gv.c:231:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] N = agnode(G, (char *) name, 1); ^ gv2gxl.c:590:60: warning: unused parameter 'terminate' [-Wunused-parameter] static int writeEdgeName(Agedge_t * e, FILE * gxlFile, int terminate) ~~~~^~~~~~~~~ gxl2gv.c: In function 'bind_edge': gxl2gv.c:240:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tailNode = agnode(G, (char *) tail, 1); ^ gxl2gv.c:241:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] headNode = agnode(G, (char *) head, 1); ^ gxl2gv.c: In function 'setGlobalNodeAttr': gxl2gv.c:297:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ~~~~~~~~~~~~~^~ gxl2gv.c: In function 'setGlobalEdgeAttr': gxl2gv.c:347:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalEdgeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ~~~~~~~~~~~~~^~ gxl2gv.c: In function 'setAttr': gxl2gv.c:384:5: warning: switch missing default case [-Wswitch-default] switch (Current_class) { ^~~~~~ gxl2gv.c: In function 'startElementHandler': gxl2gv.c:426:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agdirected, &AgDefaultDisc); ^ gxl2gv.c:428:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agundirected, &AgDefaultDisc); ^ gxl2gv.c:433:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agdirected, &AgDefaultDisc); ^ gxl2gv.c:438:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (isAnonGraph((char *) id)) { ^ gxl2gv.c:443:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] subg = agsubg(G, (char *) id, 1); ^ gv2gxl.c: In function 'initState': gv2gxl.c:883:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] stp->directed = agisdirected(g); ^~~~~~~~~~~~ gxl2gv.c:449:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setGraphAttr(G, GXL_ROLE, (char *) atts[pos], ud); ^ gxl2gv.c:454:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setGraphAttr(G, GXL_HYPER, (char *) atts[pos], ud); ^ gxl2gv.c:483:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) tail); ^ gxl2gv.c:487:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) head); ^ gxl2gv.c:504:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_FROM, (char *) atts[pos], ud); ^ gxl2gv.c:509:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_TO, (char *) atts[pos], ud); ^ gxl2gv.c:514:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_ID, (char *) atts[pos], ud); ^ gxl2gv.c:519:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->xml_attr_name, (char *) attrname); ^ gxl2gv.c:540:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c:548:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setAttr(GXL_TYPE, (char *) atts[pos], ud); ^ gxl2gv.c:555:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->xml_attr_value, (char *) href); ^ gxl2gv.c:564:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c: In function 'endElementHandler': gxl2gv.c:598:8: warning: declaration of 'name' shadows a parameter [-Wshadow] char *name; ^~~~ gxl2gv.c:574:59: note: shadowed declaration is here static void endElementHandler(void *userData, const char *name) ~~~~~~~~~~~~^~~~ gxl2gv.c:605:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GXL_COMP) + agxblen(&ud->xml_attr_name); ^ gxl2gv.c:605:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GXL_COMP) + agxblen(&ud->xml_attr_name); ^~~~~~ gxl2gv.c:52:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gxl2gv.c:609:19: note: in expansion of macro 'N_NEW' name = dynbuf = N_NEW(len, char); ^~~~~ gxl2gv.c:622:2: warning: switch missing default case [-Wswitch-default] switch (ud->globalAttrType) { ^~~~~~ gxl2gv.c:646:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c:655:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c: In function 'characterDataHandler': gxl2gv.c:668:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->composite_buffer, (char *) s, length); ^ gxl2gv.c:668:47: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->composite_buffer, (char *) s, length); ^~~~~~ gxl2gv.c:672:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^ gxl2gv.c:672:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^~~~~~ gxl2gv.c: In function 'gxl_to_gv': gxl2gv.c:693:29: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) { ^~~ CC acyclic.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC nop.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC ccomps.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC sccmap.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] acyclic.c: In function 'init': acyclic.c:139:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ nop.c: In function 'init': nop.c:46:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ sccmap.c: In function 'getval': sccmap.c:76:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] return (((Agnodeinfo_t *) (n->base.data))->val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ sccmap.c: In function 'setval': sccmap.c:80:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ((Agnodeinfo_t *) (n->base.data))->val = v; ^ sccmap.c: In function 'initStack': sccmap.c:92:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sp->data = (Agnode_t **) malloc(sz * sizeof(Agnode_t *)); ^ sccmap.c: In function 'visit': sccmap.c:169:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] min = ++(st->ID); ^~ sccmap.c:170:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] setval(n, min); ^~~ sccmap.c:176:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] m = visit(t, map, sp, st); ^~~~~ sccmap.c:178:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] m = getval(t); ^~~~~~ sccmap.c:183:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (getval(n) == min) { ^~ sccmap.c:37:13: warning: signed conversion from 'unsigned int' to 'int' changes value from '4294967295' to '-1' [-Wsign-conversion] #define INF ((unsigned int)(-1)) ^~~~~~~~~~~~~~~~~~~~ sccmap.c:185:16: note: in expansion of macro 'INF' setval(n, INF); ^~~ ccomps.c: In function 'split': ccomps.c:116:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] path = (char *) malloc(size + 1); ~~~~~^~~ sccmap.c:37:13: warning: signed conversion from 'unsigned int' to 'int' changes value from '4294967295' to '-1' [-Wsign-conversion] #define INF ((unsigned int)(-1)) ^~~~~~~~~~~~~~~~~~~~ sccmap.c:197:13: note: in expansion of macro 'INF' setval(t, INF); ^~~ sccmap.c:206:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] return min; ^~~ ccomps.c:117:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy(path, name, size); ^~~~ sccmap.c: In function 'process': sccmap.c:295:34: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] state.N_nodes_in_nontriv_SCC / (double) agnnodes(G), ^ ccomps.c: In function 'init': ccomps.c:140:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ sccmap.c: In function 'scanArgs': sccmap.c:343:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ ccomps.c: In function 'getBuf': ccomps.c:399:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ ccomps.c:401:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) realloc(buf, sz); ^~ ccomps.c: In function 'printSorted': ccomps.c:26:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ ccomps.c:571:22: note: in expansion of macro 'N_NEW' Agraph_t** ccs = N_NEW(c_cnt, Agraph_t*); ^~~~~ ccomps.c:580:17: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort (ccs, c_cnt, sizeof(Agraph_t*), (qsort_cmpf)cmp); ^~~~~ ccomps.c: In function 'processClusters': ccomps.c:650:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] name = getBuf(sizeof(PFX1) + strlen(graphName)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ccomps.c:675:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] name = getBuf(sizeof(PFX2) + strlen(graphName) + 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ccomps.c: In function 'process': ccomps.c:778:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] name = getBuf(sizeof(PFX1) + strlen(graphName)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ccomps.c:800:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] name = getBuf(sizeof(PFX2) + strlen(graphName) + 32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC tred.o ccomps.c: In function 'chkGraphName': ccomps.c:885:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(s) + 2; /* plus '\0' and '_' */ ^~~~~~ ccomps.c:887:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc (buf, len); ^~~ CC unflatten.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC gvpack-gvpack.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC dijkstra.o CC bcomps.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] unflatten.c: In function 'scanargs': unflatten.c:175:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ unflatten.c: In function 'main': unflatten.c:71:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%d", newlen); ^ In file included from /usr/include/stdio.h:873, from unflatten.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unflatten.c:71:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%d", newlen); ^ In file included from /usr/include/stdio.h:873, from unflatten.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tred.c:26: tred.c: In function 'dfs': ../../lib/common/arith.h:35:18: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tred.c:198:20: note: in expansion of macro 'MIN' DIST(ninfo,hd) = MIN(1,DIST(ninfo,v))+1; ^~~ ../../lib/common/arith.h:35:18: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tred.c:202:20: note: in expansion of macro 'MIN' DIST(ninfo,hd) = MIN(1,DIST(ninfo,v))+1; ^~~ tred.c: In function 'init': tred.c:252:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ tred.c: In function 'process': tred.c:289:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] infosize = (agnnodes(g)+1)*sizeof(nodeinfo_t); ^ CC mm2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] bcomps.c: In function 'blockName': bcomps.c:96:10: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] sz = strlen(gname) + 128; ^~~~~~ bcomps.c:100:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ bcomps.c: In function 'getName': bcomps.c:126:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] sz = strlen(outfile) + 100; /* enough to handle '__' */ ^~~~~~ bcomps.c:127:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ bcomps.c: In function 'split': bcomps.c:325:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] path = (char *) malloc(size + 1); ~~~~~^~~ bcomps.c:326:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy(path, name, size); ^~~~ bcomps.c: In function 'init': bcomps.c:339:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ dijkstra.c: In function 'cmpf': dijkstra.c:92:24: warning: unused parameter 'd' [-Wunused-parameter] static int cmpf(Dt_t * d, void *key1, void *key2, Dtdisc_t * disc) ~~~~~~~^ dijkstra.c:92:62: warning: unused parameter 'disc' [-Wunused-parameter] static int cmpf(Dt_t * d, void *key1, void *key2, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ dijkstra.c: In function 'update': dijkstra.c:132:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (oldlen == 0) { /* first time to see dest */ ^~ dijkstra.c: In function 'post': dijkstra.c:173:6: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist) { ^~~~ dijkstra.c: At top level: dijkstra.c:206:6: warning: no previous prototype for 'dijkstra' [-Wmissing-prototypes] void dijkstra(Dict_t * Q, Agraph_t * G, Agnode_t * n) ^~~~~~~~ dijkstra.c: In function 'init': dijkstra.c:253:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ dijkstra.c:279:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Files = malloc(sizeof(char *) * (argc / 2 + 2)); ^ dijkstra.c:280:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Nodes = malloc(sizeof(char *) * (argc / 2 + 2)); ^ In file included from ../../lib/common/render.h:44, from gvpack.c:27: gvpack.c: In function 'setNameValue': ../../lib/common/memory.h:42:58: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gvpack.c:139:11: note: in expansion of macro 'RALLOC' G_args = RALLOC(G_sz, G_args, attr_t); ^~~~~~ gvpack.c: In function 'init': gvpack.c:201:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(optarg) + 2; ^~~~~~ In file included from ../../lib/common/render.h:44, from gvpack.c:27: ../../lib/common/memory.h:39:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ gvpack.c:203:8: note: in expansion of macro 'N_GNEW' bp = N_GNEW(len, char); ^~~~~~ gvpack.c:199:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvpack.c: In function 'cloneDfltAttrs': gvpack.c:336:62: warning: declaration of 'kind' shadows a global declaration [-Wshadow] static void cloneDfltAttrs(Agraph_t *old, Agraph_t *new, int kind) ~~~~^~~~ gvpack.c:75:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'cloneAttrs': gvpack.c:349:9: warning: declaration of 'kind' shadows a global declaration [-Wshadow] int kind = AGTYPE(old); ^~~~ gvpack.c:75:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'freef': gvpack.c:410:26: warning: unused parameter 'dt' [-Wunused-parameter] static void freef(Dt_t * dt, void * obj, Dtdisc_t * disc) ~~~~~~~^~ gvpack.c:410:53: warning: unused parameter 'disc' [-Wunused-parameter] static void freef(Dt_t * dt, void * obj, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ gvpack.c: In function 'fillDict': gvpack.c:432:55: warning: declaration of 'kind' shadows a global declaration [-Wshadow] static void fillDict(Dt_t * newdict, Agraph_t* g, int kind) ~~~~^~~~ gvpack.c:75:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'xName': gvpack.c:555:8: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(oldname) + 100; /* 100 for "_gv" and decimal no. */ ^~~~~~ In file included from ../../lib/common/render.h:44, from gvpack.c:27: ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:558:13: note: in expansion of macro 'N_NEW' name = N_NEW(len, char); ^~~~~ gvpack.c: In function 'cloneClusterTree': ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:646:17: note: in expansion of macro 'N_NEW' GD_clust(ng) = N_NEW(1 + GD_n_cluster(g), Agraph_t *); ^~~~~ gvpack.c: In function 'cloneGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:740:19: note: in expansion of macro 'N_NEW' GD_clust(root) = N_NEW(1 + GD_n_cluster(root), graph_t *); ^~~~~ gvpack.c: In function 'readGraphs': ../../lib/common/memory.h:41:62: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ gvpack.c:794:11: note: in expansion of macro 'ALLOC' gs = ALLOC(sz, gs, Agraph_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ gvpack.c:794:11: note: in expansion of macro 'ALLOC' gs = ALLOC(sz, gs, Agraph_t *); ^~~~~ gvpack.c:806:16: warning: conversion from 'int' to 'boolean' {aka 'unsigned char'} may change value [-Wconversion] init_graph(g, doPack, gvc); ^~~~~~ In file included from ../../lib/common/render.h:44, from gvpack.c:27: ../../lib/common/memory.h:42:58: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gvpack.c:810:10: note: in expansion of macro 'RALLOC' gs = RALLOC(cnt, gs, Agraph_t *); ^~~~~~ gvpack.c: At top level: gvpack.c:820:6: warning: no previous prototype for 'compBB' [-Wmissing-prototypes] boxf compBB(Agraph_t ** gs, int cnt) ^~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from mm2gv.c:26: mm2gv.c: In function 'makeDotGraph': ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ mm2gv.c:235:22: note: in expansion of macro 'N_NEW' Agnode_t **arr = N_NEW(A->m, Agnode_t *); ^~~~~ ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ mm2gv.c:290:10: note: in expansion of macro 'N_NEW' color = N_NEW(A->nz, real); ^~~~~ CC matrix_market.o mm2gv.c: In function 'init': mm2gv.c:403:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] matrix_market.c: In function 'SparseMatrix_import_matrix_market': matrix_market.c:104:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = MALLOC(nz * sizeof(int)); ^ matrix_market.c:105:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = MALLOC(nz * sizeof(int)); ^ matrix_market.c:122:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (real *) malloc(nz * sizeof(real)); ^ mm2gv.c: In function 'makeDotGraph.constprop': mm2gv.c:340:3: warning: 'sym' may be used uninitialized in this function [-Wmaybe-uninitialized] agxset(e, sym, buf); ^~~~~~~~~~~~~~~~~~~ matrix_market.c:129:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:130:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:131:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 2 * sizeof(real) * nz); ^ matrix_market.c:141:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:142:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:143:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 2 * sizeof(real) * nz); ^ matrix_market.c:158:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = (int *) malloc(nz * sizeof(int)); ^ matrix_market.c:165:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:166:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:167:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = REALLOC(vali, 2 * sizeof(int) * nz); ^ matrix_market.c:177:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:178:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:179:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = REALLOC(vali, 2 * sizeof(int) * nz); ^ matrix_market.c:200:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:201:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:214:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (real *) malloc(2 * nz * sizeof(real)); ^ matrix_market.c:223:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:224:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:225:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:237:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:238:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:239:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:252:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:253:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:254:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:124:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg\n", &I[i], &J[i], &val[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:160:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d\n", &I[i], &J[i], &vali[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:195:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &I[i], &J[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:217:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg %lg\n", &I[i], &J[i], &v[0], &v[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC mmio.o CC gvgen.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] CC graph_generator.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] mmio.c: In function 'mm_read_unsymmetric_sparse': mmio.c:74:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = (int *) malloc(nz * sizeof(int)); ^ mmio.c:75:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = (int *) malloc(nz * sizeof(int)); ^ mmio.c:76:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (double *) malloc(nz * sizeof(double)); ^ mmio.c: In function 'mm_read_banner': mmio.c:130:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] for (p = mtx; *p != '\0'; *p = tolower(*p), p++); /* convert to lower case */ ^~~~~~~ mmio.c:131:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] for (p = crd; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c:132:42: warning: conversion from 'int' to 'char' may change value [-Wconversion] for (p = data_type; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c:133:47: warning: conversion from 'int' to 'char' may change value [-Wconversion] for (p = storage_scheme; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c: In function 'mm_read_mtx_crd_data': mmio.c:271:40: warning: unused parameter 'M' [-Wunused-parameter] int mm_read_mtx_crd_data(FILE * f, int M, int N, int nz, int I[], int J[], ~~~~^ mmio.c:271:47: warning: unused parameter 'N' [-Wunused-parameter] int mm_read_mtx_crd_data(FILE * f, int M, int N, int nz, int I[], int J[], ~~~~^ mmio.c: At top level: mmio.c:336:5: warning: no previous prototype for 'mm_read_mtx_crd' [-Wmissing-prototypes] int mm_read_mtx_crd(char *fname, int *M, int *N, int *nz, int **I, int **J, ^~~~~~~~~~~~~~~ mmio.c: In function 'mm_read_mtx_crd': mmio.c:359:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *I = (int *) malloc(*nz * sizeof(int)); ^ mmio.c:360:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *J = (int *) malloc(*nz * sizeof(int)); ^ mmio.c:364:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val = (double *) malloc(*nz * 2 * sizeof(double)); ^ mmio.c:370:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val = (double *) malloc(*nz * sizeof(double)); ^ mmio.c: In function 'mm_typecode_to_str': mmio.c:463:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error = 0; ^~~~~ mmio.c: In function 'mm_read_unsymmetric_sparse': mmio.c:87:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg\n", &I[i], &J[i], &val[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC gml2gv.o gvgen.c: In function 'init': gvgen.c:299:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:304:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:309:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:320:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:325:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:330:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:335:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:340:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:345:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:350:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:355:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:369:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:374:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:377:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:383:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:388:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:393:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:397:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:405:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] errexit(c); ^ gvgen.c:295:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvgen.c: In function 'main': gvgen.c:513:6: warning: implicit declaration of function 'makeTetrix'; did you mean 'makeTree'? [-Wimplicit-function-declaration] makeTetrix(opts.graphSize1, ef); ^~~~~~~~~~ makeTree gvgen.c:513:6: warning: nested extern declaration of 'makeTetrix' [-Wnested-externs] cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gvgen.c: In function 'init': gvgen.c:315:22: warning: this statement may fall through [-Wimplicit-fallthrough=] opts->isPartial = 1; ~~~~~~~~~~~~~~~~^~~ gvgen.c:316:2: note: here case 'g': ^~~~ CC gmlparse.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] graph_generator.c: In function 'makeTree': graph_generator.c:229:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int n = (ipow(nary,depth)-1)/(nary-1); /* no. of non-leaf nodes */ ^ graph_generator.c:233:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (j = 0; j < nary; j++) { ^ graph_generator.c:234:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef (i, idx++); ^ graph_generator.c:234:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef (i, idx++); ~~~^~ graph_generator.c: In function 'makeBinaryTree': graph_generator.c:242:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int n = (1 << depth) - 1; ^ graph_generator.c:245:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i); ^ graph_generator.c:245:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i); ~~^~~ graph_generator.c:246:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i + 1); ^ graph_generator.c:246:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i + 1); ~~~~~~^~~ graph_generator.c: In function 'makeSierpinski': graph_generator.c:309:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] graph_generator.c:294:37: #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ~~~ graph_generator.c:309:21: graph = N_NEW(n + 1, vtx_data); graph_generator.c:294:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:310:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] graph_generator.c:294:37: #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ~~~ graph_generator.c:310:21: edges = N_NEW(4 * n, int); graph_generator.c:294:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:301:9: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ graph_generator.c: At top level: graph_generator.c:383:6: warning: no previous prototype for 'makeTetrix' [-Wmissing-prototypes] void makeTetrix(int depth, edgefn ef) ^~~~~~~~~~ graph_generator.c: In function 'makeTetrix': graph_generator.c:396:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] graph_generator.c:294:37: #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ~~~ graph_generator.c:396:21: graph = N_NEW(n + 1, vtx_data); graph_generator.c:294:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:397:21: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] graph_generator.c:294:37: #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ~~~ graph_generator.c:397:21: edges = N_NEW(6 * n, int); graph_generator.c:294:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:388:9: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ graph_generator.c: In function 'makeRandom': graph_generator.c:484:11: warning: conversion to 'unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] srand(time(0)); ^~~~~~~ graph_generator.c: In function 'mkTree': graph_generator.c:294:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^~~ graph_generator.c:563:13: note: in expansion of macro 'N_NEW' tp->p = N_NEW(sz,int); ^~~~~ graph_generator.c: In function 'mkStack': graph_generator.c:294:37: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^~~ graph_generator.c:646:13: note: in expansion of macro 'N_NEW' sp->v = N_NEW(sz,pair); ^~~~~ graph_generator.c: In function 'genCnt': graph_generator.c:683:22: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] graph_generator.c:294:37: #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ~~~ graph_generator.c:683:22: int* T = N_NEW(NN+1,int); graph_generator.c:294:38: note: in definition of macro 'N_NEW' #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c: In function 'genTree': graph_generator.c:715:33: warning: declaration of 'stack' shadows a global declaration [-Wshadow] genTree (int NN, int* T, stack* stack, tree_t* TREE) ~~~~~~~^~~~~ graph_generator.c:639:3: note: shadowed declaration is here } stack; ^~~~~ graph_generator.c:726:10: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] Z = v*drand(); ^ graph_generator.c: In function 'makeTreeGen': graph_generator.c:787:11: warning: conversion to 'unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] srand(time(0)); ^~~~~~~ gml2gv.c: In function 'initargs': gml2gv.c:109:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ ../../cmd/tools/gmlparse.y: In function 'free_node': ../../cmd/tools/gmlparse.y:41:17: warning: unused parameter 'd' [-Wunused-parameter] free_node (Dt_t*d, gmlnode* p, Dtdisc_t* ds) ~~~~~^ ../../cmd/tools/gmlparse.y:41:42: warning: unused parameter 'ds' [-Wunused-parameter] free_node (Dt_t*d, gmlnode* p, Dtdisc_t* ds) ~~~~~~~~~~^~ ../../cmd/tools/gmlparse.y: In function 'free_edge': ../../cmd/tools/gmlparse.y:49:17: warning: unused parameter 'd' [-Wunused-parameter] free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) ~~~~~^ ../../cmd/tools/gmlparse.y:49:42: warning: unused parameter 'ds' [-Wunused-parameter] free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) ~~~~~~~~~~^~ ../../cmd/tools/gmlparse.y: In function 'free_graph': ../../cmd/tools/gmlparse.y:57:18: warning: unused parameter 'd' [-Wunused-parameter] free_graph (Dt_t*d, gmlgraph* p, Dtdisc_t* ds) ~~~~~^ ../../cmd/tools/gmlparse.y:57:44: warning: unused parameter 'ds' [-Wunused-parameter] free_graph (Dt_t*d, gmlgraph* p, Dtdisc_t* ds) ~~~~~~~~~~^~ ../../cmd/tools/gmlparse.y: In function 'initstk': ../../cmd/tools/gmlparse.y:24:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ ../../cmd/tools/gmlparse.y:124:15: note: in expansion of macro 'N_NEW' liststk = N_NEW(liststk_sz, Dt_t*); ^~~~~ ../../cmd/tools/gmlparse.y: In function 'pushAlist': ../../cmd/tools/gmlparse.y:25:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)realloc(ptr,(size)*sizeof(type))) ^ ../../cmd/tools/gmlparse.y:164:16: note: in expansion of macro 'RALLOC' liststk = RALLOC(liststk_sz, liststk, Dt_t*); ^~~~~~ ../../cmd/tools/gmlparse.y: In function 'mkAttr': ../../cmd/tools/gmlparse.y:235:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] gp->sort = sort; ^~~~ ../../cmd/tools/gmlparse.y:236:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] gp->kind = kind; ^~~~ CC gmlscan.o y.tab.c: In function 'gmlparse': y.tab.c:1463:13: warning: conversion from 'int' to 'gmltype_int16' {aka 'short int'} may change value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1468:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~ ../../cmd/tools/gmlparse.y: In function 'free_attr': ../../cmd/tools/gmlparse.y:398:17: warning: unused parameter 'd' [-Wunused-parameter] free_attr (Dt_t*d, gmlattr* p, Dtdisc_t* ds) ~~~~~^ ../../cmd/tools/gmlparse.y:398:42: warning: unused parameter 'ds' [-Wunused-parameter] free_attr (Dt_t*d, gmlattr* p, Dtdisc_t* ds) ~~~~~~~~~~^~ ../../cmd/tools/gmlparse.y: In function 'addNodeLabelGraphics': ../../cmd/tools/gmlparse.y:462:58: warning: unused parameter 'xb' [-Wunused-parameter] addNodeLabelGraphics (Agnode_t* np, Dt_t* alist, agxbuf* xb, agxbuf* unk) ~~~~~~~~^~ cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] ../../cmd/tools/gmlparse.y: In function 'mkGraph': ../../cmd/tools/gmlparse.y:735:20: warning: declaration of 'G' shadows a global declaration [-Wshadow] mkGraph (gmlgraph* G, Agraph_t* parent, char* name, agxbuf* xb, agxbuf* unk) ~~~~~~~~~~^ ../../cmd/tools/gmlparse.y:29:18: note: shadowed declaration is here static gmlgraph* G; ^ CC gv2gml.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] ../../cmd/tools/gmlscan.l: In function 'addstr': ../../cmd/tools/gmlscan.l:56:33: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] Sbuf = (char*)realloc(Sbuf,sz); ^~ CC graphml2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] lex.gml.c: In function 'gmllex': lex.gml.c:1184:8: warning: switch missing default case [-Wswitch-default] lex.gml.c: In function 'gml_get_next_buffer': lex.gml.c:1345:19: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ../../cmd/tools/gmlscan.l:30:37: note: in definition of macro 'YY_INPUT' if ((result = fread(buf, 1, max_size, Ifile)) < 0) \ ^~~~~~~~ ../../cmd/tools/gmlscan.l:30:23: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((result = fread(buf, 1, max_size, Ifile)) < 0) \ ^~~~~ lex.gml.c:1344:3: note: in expansion of macro 'YY_INPUT' lex.gml.c: In function 'input': lex.gml.c:1515:4: warning: switch missing default case [-Wswitch-default] At top level: lex.gml.c:1492:16: warning: 'input' defined but not used [-Wunused-function] CCLD gc gv2gml.c: In function 'indent': gv2gml.c:91:35: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] static void indent (int ix, FILE* outFile) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitInt': gv2gml.c:143:39: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitInt (char* name, int value, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitReal': gv2gml.c:150:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitReal (char* name, double value, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitPoint': gv2gml.c:157:38: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitPoint (double x, double y, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitSpline': gv2gml.c:204:28: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitSpline (char* s, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitAttr': gv2gml.c:226:42: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitAttr (char* name, char* value, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitNodeAttrs': gv2gml.c:241:49: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitNodeAttrs (Agraph_t* G, Agnode_t* np, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitNode': gv2gml.c:425:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitNode (Agraph_t* G, Agnode_t* n, FILE* outFile) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c:428:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] fprintf (outFile, " node [\n id %lu\n name \"%s\"\n", id, agnameof(n)); ~~^ ~~ %llu gv2gml.c: In function 'emitEdgeAttrs': gv2gml.c:441:49: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitEdgeAttrs (Agraph_t* G, Agedge_t* ep, FILE* outFile, int ix) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitEdge': gv2gml.c:605:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitEdge (Agraph_t* G, Agedge_t* e, FILE* outFile) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c:607:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] fprintf (outFile, " edge [\n id %lu\n", (uint64_t)AGSEQ(e)); ~~^ %llu gv2gml.c:608:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] fprintf (outFile, " source %lu\n", ID(agtail(e))); ~~^ %llu gv2gml.c:609:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] fprintf (outFile, " target %lu\n", ID(aghead(e))); ~~^ %llu gv2gml.c: In function 'emitGraphAttrs': gv2gml.c:615:36: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitGraphAttrs (Agraph_t* G, FILE* outFile) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'gv_to_gml': gv2gml.c:628:30: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] gv_to_gml(Agraph_t* G, FILE* outFile) ~~~~~~^~~~~~~ gv2gml.c:33:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'initargs': gv2gml.c:705:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ graphml2gv.c: In function 'pushString': graphml2gv.c:61:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ graphml2gv.c:65:14: note: in expansion of macro 'ROUND2' int sz = ROUND2(sizeof(slist) + strlen(s), sizeof(void *)); ^~~~~~ graphml2gv.c:59:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ graphml2gv.c:66:27: note: in expansion of macro 'N_NEW' slist *sp = (slist *) N_NEW(sz, char); ^~~~~ graphml2gv.c: In function 'make_nitem': graphml2gv.c:132:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~^ graphml2gv.c:132:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ graphml2gv.c: In function 'free_nitem': graphml2gv.c:140:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~^ graphml2gv.c:140:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ~~~~~~~~~~~^~~~ graphml2gv.c: In function 'bind_node': graphml2gv.c:240:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] N = agnode(G, (char *) name, 1); ^ graphml2gv.c: In function 'bind_edge': graphml2gv.c:249:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tailNode = agnode(G, (char *) tail, 1); ^ graphml2gv.c:250:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] headNode = agnode(G, (char *) head, 1); ^ graphml2gv.c: In function 'setGlobalNodeAttr': graphml2gv.c:306:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ~~~~~~~~~~~~~^~ graphml2gv.c: In function 'setGlobalEdgeAttr': graphml2gv.c:356:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalEdgeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ~~~~~~~~~~~~~^~ graphml2gv.c: In function 'setAttr': graphml2gv.c:393:5: warning: switch missing default case [-Wswitch-default] switch (Current_class) { ^~~~~~ graphml2gv.c: In function 'startElementHandler': graphml2gv.c:451:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, dir, &AgDefaultDisc); ^ graphml2gv.c:455:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (isAnonGraph((char *) id)) { ^ graphml2gv.c:460:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] subg = agsubg(G, (char *) id, 1); ^ graphml2gv.c:492:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) tail); ^ graphml2gv.c:496:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) head); ^ graphml2gv.c:501:80: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fprintf(stderr,"edge source %s target %s outside graph, ignored\n",(char*)tail,(char*)head); ^ graphml2gv.c:501:92: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fprintf(stderr,"edge source %s target %s outside graph, ignored\n",(char*)tail,(char*)head); ^ graphml2gv.c:516:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GRAPHML_ID, (char *) atts[pos], ud); ^ graphml2gv.c: In function 'endElementHandler': graphml2gv.c:551:8: warning: declaration of 'name' shadows a parameter [-Wshadow] char *name; ^~~~ graphml2gv.c:527:59: note: shadowed declaration is here static void endElementHandler(void *userData, const char *name) ~~~~~~~~~~~~^~~~ graphml2gv.c:558:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name); ^ graphml2gv.c:558:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name); ^~~~~~ graphml2gv.c:59:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ graphml2gv.c:562:19: note: in expansion of macro 'N_NEW' name = dynbuf = N_NEW(len, char); ^~~~~ graphml2gv.c:575:2: warning: switch missing default case [-Wswitch-default] switch (ud->globalAttrType) { ^~~~~~ graphml2gv.c: In function 'characterDataHandler': graphml2gv.c:603:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->composite_buffer, (char *) s, length); ^ graphml2gv.c:603:47: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->composite_buffer, (char *) s, length); ^~~~~~ graphml2gv.c:607:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^ graphml2gv.c:607:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^~~~~~ graphml2gv.c: At top level: graphml2gv.c:610:11: warning: no previous prototype for 'graphml_to_gv' [-Wmissing-prototypes] Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv) ^~~~~~~~~~~~~ graphml2gv.c: In function 'graphml_to_gv': graphml2gv.c:610:31: warning: declaration of 'gname' shadows a global declaration [-Wshadow] Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv) ~~~~~~^~~~~ graphml2gv.c:50:14: note: shadowed declaration is here static char* gname = ""; ^~~~~ graphml2gv.c:629:29: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) { ^~~ graphml2gv.c: In function 'initargs': graphml2gv.c:718:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ graphml2gv.c: In function 'main': graphml2gv.c:773:15: warning: declaration of 'G' shadows a global declaration [-Wshadow] Agraph_t *G; ^ graphml2gv.c:119:18: note: shadowed declaration is here static Agraph_t *G; /* Current graph */ ^ CCLD gvcolor CCLD gxl2gv CCLD acyclic CCLD nop CCLD ccomps CCLD sccmap CCLD tred CCLD unflatten CCLD gvpack CCLD dijkstra CCLD bcomps CCLD mm2gv CCLD gvgen CCLD gml2gv CCLD gv2gml CCLD graphml2gv make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' Making all in gvpr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' Making all in lib make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' CC gvpr-gvprmain.o CCLD gvpr make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' Making all in lefty make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' Making all in ws make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' Making all in x11 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' Making all in libfilereq make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' CC Dir.lo CC Draw.lo CC Path.lo CC SelFile.lo Draw.c: In function 'SFcreateGC': Draw.c:127:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] rectangles[0].x = SFlineToTextH + SFbesideText; ^~~~~~~~~~~~~ Draw.c:129:27: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] rectangles[0].width = SFcharsPerEntry * SFcharWidth; ^~~~~~~~~~~~~~~ Draw.c:130:28: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] rectangles[0].height = SFupperY + 1; ^~~~~~~~ Draw.c: In function 'SFstatAndCheck': Draw.c:220:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] last = strlen (entry->real) - 1; ^~~~~~ Draw.c:237:31: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (shown); ^~~~~~ Draw.c: In function 'SFdrawStrings': Draw.c:280:27: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] entry->shown, strlen (entry->shown) ^~~~~~~~~~~~~~~~~~~~~ Draw.c:294:63: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFcompletionSegs[0].y1 = SFcompletionSegs[1].y1 = ( ^ Draw.c:297:63: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFcompletionSegs[0].y2 = SFcompletionSegs[1].y2 = ( ^ Draw.c: In function 'SFdrawList': Draw.c:326:23: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] dir->dir, strlen (dir->dir) ^~~~~~~~~~~~~~~~~ Draw.c: In function 'SFinvertEntry': Draw.c:344:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth, SFentryHeight ^~~~~~~~~~~~ Draw.c:344:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth, SFentryHeight ^~~~~~~~~~~~~ Draw.c: In function 'SFscrollTimer': Draw.c:372:56: warning: unused parameter 'id' [-Wunused-parameter] static void SFscrollTimer (XtPointer cd, XtIntervalId *id) { ~~~~~~~~~~~~~~^~ Draw.c: In function 'SFenterList': Draw.c:452:26: warning: unused parameter 'w' [-Wunused-parameter] void SFenterList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~^ Draw.c:452:64: warning: unused parameter 'b' [-Wunused-parameter] void SFenterList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~^ Draw.c: In function 'SFleaveList': Draw.c:471:26: warning: unused parameter 'w' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~^ Draw.c:471:51: warning: unused parameter 'ev' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~^~ Draw.c:471:64: warning: unused parameter 'b' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~^ Draw.c: In function 'SFmotionList': Draw.c:481:27: warning: unused parameter 'w' [-Wunused-parameter] void SFmotionList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~^ Draw.c:481:65: warning: unused parameter 'b' [-Wunused-parameter] void SFmotionList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~^ Draw.c: In function 'SFvFloatSliderMovedCallback': Draw.c:506:19: warning: conversion from 'int' to 'float' may change value [-Wconversion] new = (*fnew) * SFdirs[SFdirPtr + n].nEntries; ^ Draw.c:506:11: warning: conversion from 'float' to 'intptr_t' {aka 'int'} may change value [-Wfloat-conversion] new = (*fnew) * SFdirs[SFdirPtr + n].nEntries; ^ Draw.c: In function 'SFvSliderMovedCallback': Draw.c:530:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:531:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (SFlistSize - (new - old)) * SFentryHeight, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:537:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (new - old) * SFentryHeight, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:537:59: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (new - old) * SFentryHeight, ~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:544:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFlowerY, SFentryWidth + SFlineToTextH, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:545:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (SFlistSize - (old - new)) * SFentryHeight, SFlineToTextH, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:550:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (old - new) * SFentryHeight, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:550:59: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (old - new) * SFentryHeight, ~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:558:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, SFlistSize * SFentryHeight, False ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:558:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, SFlistSize * SFentryHeight, False ~~~~~~~~~~~^~~~~~~~~~~~~~~ Draw.c:510:37: warning: unused parameter 'w' [-Wunused-parameter] void SFvSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~^ Draw.c: In function 'SFvAreaSelectedCallback': Draw.c:571:11: warning: conversion from 'double' to 'intptr_t' {aka 'int'} may change value [-Wfloat-conversion] new = dir->vOrigin + (((double) pnew) / SFvScrollHeight) * dir->nEntries; ^~~ Draw.c:581:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] f = ((double) new) / dir->nEntries; ^ Draw.c: In function 'SFhSliderMovedCallback': Draw.c:602:27: warning: conversion from 'int' to 'float' may change value [-Wconversion] dir->hOrigin = (*new) * dir->nChars; ^ Draw.c:602:20: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] dir->hOrigin = (*new) * dir->nChars; ^ Draw.c:592:37: warning: unused parameter 'w' [-Wunused-parameter] void SFhSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~^ Draw.c: In function 'SFhAreaSelectedCallback': Draw.c:616:11: warning: conversion from 'double' to 'intptr_t' {aka 'int'} may change value [-Wfloat-conversion] new = dir->hOrigin + (((double) pnew) / SFhScrollWidth) * dir->nChars; ^~~ Draw.c:625:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] f = ((double) new) / dir->nChars; ^ Draw.c: In function 'SFpathSliderMovedCallback': Draw.c:645:23: warning: conversion from 'int' to 'float' may change value [-Wconversion] SFdirPtr = (*new) * SFdirEnd; ^ Draw.c:645:16: warning: conversion from 'float' to 'int' may change value [-Wfloat-conversion] SFdirPtr = (*new) * SFdirEnd; ^ Draw.c:658:13: warning: conversion to 'long unsigned int' from 'XawTextPosition' {aka 'long int'} may change the sign of the result [-Wsign-conversion] pos -= strlen (SFstartDir); ^~ Draw.c:658:16: warning: conversion to 'XawTextPosition' {aka 'long int'} from 'long unsigned int' may change the sign of the result [-Wsign-conversion] pos -= strlen (SFstartDir); ^~~~~~ Draw.c:636:40: warning: unused parameter 'w' [-Wunused-parameter] void SFpathSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~^ Draw.c:636:67: warning: unused parameter 'cd' [-Wunused-parameter] void SFpathSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ Draw.c: In function 'SFpathAreaSelectedCallback': Draw.c:671:11: warning: conversion from 'double' to 'intptr_t' {aka 'int'} may change value [-Wfloat-conversion] new = SFdirPtr + (((double) pnew) / SFpathScrollWidth) * SFdirEnd; ^~~~~~~~ Dir.c: In function 'SFcompareEntries': Dir.c:97:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFEntry *p = (SFEntry *) vp, *q = (SFEntry *) vq; ^ Dir.c:97:39: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFEntry *p = (SFEntry *) vp, *q = (SFEntry *) vq; ^ SelFile.c: In function 'SFexposeList': Draw.c:678:9: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] f = ((double) new) / SFdirEnd; ^ SelFile.c:155:34: warning: unused parameter 'w' [-Wunused-parameter] static void SFexposeList (Widget w, XtPointer n, XEvent *event, Boolean *cont) { ~~~~~~~^ SelFile.c:155:74: warning: unused parameter 'cont' [-Wunused-parameter] static void SFexposeList (Widget w, XtPointer n, XEvent *event, Boolean *cont) { ~~~~~~~~~^~~~ Dir.c: In function 'SFgetDir': Dir.c:114:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] maxChars = strlen (dir->dir) - 1; ^~~~~~ Draw.c:666:54: warning: unused parameter 'cl' [-Wunused-parameter] void SFpathAreaSelectedCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ SelFile.c: In function 'SFmodVerifyCallback': SelFile.c:164:12: warning: unused parameter 'w' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ~~~~~~~^ SelFile.c:164:25: warning: unused parameter 'client_data' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ~~~~~~~~~~^~~~~~~~~~~ SelFile.c:164:62: warning: unused parameter 'cont' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ~~~~~~~~~^~~~ Dir.c:136:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) result, (unsigned) (alloc * sizeof (SFEntry)) ^ SelFile.c: In function 'SFokCallback': Dir.c:141:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (str); ^~~~~~ SelFile.c:177:34: warning: unused parameter 'w' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~^ SelFile.c:177:47: warning: unused parameter 'cl' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ SelFile.c:177:61: warning: unused parameter 'cd' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ Draw.c: In function 'SFworkProc': Draw.c:685:31: warning: unused parameter 'cl' [-Wunused-parameter] Boolean SFworkProc (XtPointer cl) { ~~~~~~~~~~^~ SelFile.c: In function 'SFcancelCallback': Dir.c:154:29: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) result, i, sizeof (SFEntry), SFcompareEntries); ^ SelFile.c:186:38: warning: unused parameter 'w' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~^ SelFile.c:186:51: warning: unused parameter 'cl' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ SelFile.c:186:65: warning: unused parameter 'cd' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ~~~~~~~~~~^~ SelFile.c: In function 'SFdismissAction': SelFile.c:200:34: warning: comparison of integer expressions of different signedness: 'long int' and 'Atom' {aka 'long unsigned int'} [-Wsign-compare] event->xclient.data.l[0] != SFwmDeleteWindow ^~ SelFile.c:196:12: warning: unused parameter 'w' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ~~~~~~~^ SelFile.c:196:38: warning: unused parameter 'params' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ~~~~~~~~^~~~~~ SelFile.c:196:56: warning: unused parameter 'num_params' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ~~~~~~~~~~^~~~~~~~~~ SelFile.c: In function 'SFcreateWidgets': SelFile.c:308:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[0].y1 = vScrollY; ^~~~~~~~ SelFile.c:309:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[0].x2 = vScrollX - 1; ^~~~~~~~ SelFile.c:310:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[0].y2 = vScrollY; ^~~~~~~~ SelFile.c:311:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[1].x1 = vScrollX; ^~~~~~~~ SelFile.c:313:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[1].x2 = vScrollX; ^~~~~~~~ SelFile.c:314:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFsegs[1].y2 = vScrollY - 1; ^~~~~~~~ SelFile.c:316:55: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFcompletionSegs[0].x1 = SFcompletionSegs[0].x2 = SFlineToTextH; ^~~~~~~~~~~~~ SelFile.c:317:55: warning: conversion from 'int' to 'short int' may change value [-Wconversion] SFcompletionSegs[1].x1 = SFcompletionSegs[1].x2 = ( ^ Path.c: In function 'SFunreadableDir': Path.c:140:19: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] dir->nChars = strlen (cannotOpen); ^~~~~~ Path.c: In function 'SFreplaceText': Path.c:184:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (str); ^~~~~~ Path.c:188:42: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncat (SFcurrentPath, str, len - 1); ~~~~^~~ Path.c: In function 'SFexpand': Path.c:205:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (str); ^~~~~~ Path.c:223:56: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((cmp = strncmp (growing, entry->shown, len))) { ^~~ Path.c: In function 'SFfindFile': Path.c:246:11: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (str); ^~~~~~ Path.c:258:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] last = strlen (name) - 1; ^~~~~~ Path.c:265:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] result = strncmp (str, name, len); ^~~ Path.c:277:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] last = strlen (name) - 1; ^~~~~~ Path.c:284:38: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] result = strncmp (str, name, len); ^~~ Path.c: In function 'SFcompareLogins': Path.c:345:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFLogin *p = (SFLogin *) vp, *q = (SFLogin *) vq; ^ Path.c:345:39: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFLogin *p = (SFLogin *) vp, *q = (SFLogin *) vq; ^ Path.c: In function 'SFgetHomeDirs': Path.c:367:20: warning: conversion to '__uid_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] pw = getpwuid ((int) getuid ()); ^~~~~~~~~~~~~~~ Path.c:376:53: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) entries, (unsigned) (alloc * sizeof (SFEntry)) ^ Path.c:379:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) SFlogins, (unsigned) (alloc * sizeof (SFLogin)) ^ Path.c:382:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (pw->pw_name); ^~~~~~ Path.c:410:30: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) entries, i, sizeof (SFEntry), SFcompareEntries); ^ Path.c:411:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) SFlogins, i, sizeof (SFLogin), SFcompareLogins); ^ Path.c: In function 'SFupdatePath': Path.c:453:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFdirs = (SFDir *) XtMalloc ((alloc = 10) * sizeof (SFDir)); ^ Path.c:529:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (unsigned) ((alloc *= 2) * sizeof (SFDir)) ^ SelFile.c: In function 'SFpositionWidget': SelFile.c:572:14: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] width += 2 * b_width; ^ SelFile.c:573:15: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] height += 2 * b_width; ^ Path.c: In function 'SFsetText': Path.c:614:19: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] text.length = strlen (path); ^~~~~~ Path.c:617:38: warning: conversion to 'XawTextPosition' {aka 'long int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] XawTextReplace (selFileField, 0, strlen (SFtextBuffer), &text); ^~~~~~~~~~~~~~~~~~~~~ Path.c:618:45: warning: conversion to 'XawTextPosition' {aka 'long int'} from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] XawTextSetInsertionPoint (selFileField, strlen (SFtextBuffer)); ^~~~~~~~~~~~~~~~~~~~~ SelFile.c: In function 'SFtextChanged': Path.c: In function 'SFbuttonPressList': SelFile.c:630:11: warning: conversion to 'long unsigned int' from 'XawTextPosition' {aka 'long int'} may change the sign of the result [-Wsign-conversion] ) + strlen (SFstartDir); ^ Path.c:622:32: warning: unused parameter 'w' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~^ Path.c:622:45: warning: unused parameter 'cl' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~~^~ SelFile.c:628:21: warning: conversion to 'XawTextPosition' {aka 'long int'} from 'long unsigned int' may change the sign of the result [-Wsign-conversion] SFtextPos = XawTextGetInsertionPoint ( ^~~~~~~~~~~~~~~~~~~~~~~~ Path.c:622:57: warning: unused parameter 'ev' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~^~ Path.c:622:70: warning: unused parameter 'b' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~^ SelFile.c: At top level: SelFile.c:650:1: warning: no previous prototype for 'XsraSelFile' [-Wmissing-prototypes] XsraSelFile ( ^~~~~~~~~~~ Path.c: In function 'SFbuttonReleaseList': Path.c:626:72: warning: unused parameter 'b' [-Wunused-parameter] void SFbuttonReleaseList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ~~~~~~~~~^ SelFile.c: In function 'XsraSelFile': SelFile.c:731:49: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy (name_return, SFtextBuffer, name_size); ^~~~~~~~~ SelFile.c:725:9: warning: switch missing default case [-Wswitch-default] switch (SFstatus) { ^~~~~~ SelFile.c:651:66: warning: unused parameter 'failed' [-Wunused-parameter] Widget toplevel, char *prompt, char *ok, char *cancel, char *failed, ~~~~~~^~~~~~ SelFile.c:652:28: warning: unused parameter 'mode' [-Wunused-parameter] char *init_path, char *mode, ~~~~~~^~~~ Path.c: In function 'SFcheckFiles': Path.c:717:16: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] last = strlen (str) - 1; ^~~~~~ Path.c: In function 'SFdirModTimer': Path.c:733:31: warning: unused parameter 'cl' [-Wunused-parameter] void SFdirModTimer (XtPointer cl, XtIntervalId *id) { ~~~~~~~~~~^~ Path.c:733:49: warning: unused parameter 'id' [-Wunused-parameter] void SFdirModTimer (XtPointer cl, XtIntervalId *id) { ~~~~~~~~~~~~~~^~ CCLD libfilereq.la make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' CC garray.lo CC gbutton.lo CC gcanvas.lo CC gmenu.lo CC gcommon.lo CC glabel.lo In file included from garray.c:18: garray.c: In function 'GAcreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ garray.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ garray.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ garray.c:77:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ garray.c:78:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ garray.c:79:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ garray.c:106:53: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "array", arrayWidgetClass, parent->w, argp, argn ^~~~ In file included from garray.c:18: garray.c: In function 'GAsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ garray.c:124:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ garray.c:124:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ garray.c:158:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ garray.c: In function 'GAgetwidgetattr': garray.c:172:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ garray.c:177:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ garray.c: In function 'awcallback': garray.c:211:45: warning: unused parameter 'clientdata' [-Wunused-parameter] static void awcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~~~ In file included from gbutton.c:18: gbutton.c: In function 'GBcreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gbutton.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gbutton.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gbutton.c:60:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gbutton.c:61:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gbutton.c:62:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gbutton.c:100:57: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "command", commandWidgetClass, parent->w, argp, argn ^~~~ gbutton.c:106:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] widget->w, XtNcallback, bwcallback, (XtPointer) widget->udata ^ In file included from gbutton.c:18: gbutton.c: In function 'GBsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gbutton.c:122:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gbutton.c:122:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gbutton.c:138:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gbutton.c:139:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gbutton.c:140:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gbutton.c:164:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gbutton.c: In function 'GBgetwidgetattr': gbutton.c:179:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c:184:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c:189:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c: In function 'bwcallback': gbutton.c:215:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void bwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~ garray.c: In function 'Gawdefcoordscb': garray.c:361:26: warning: unused parameter 'wi' [-Wunused-parameter] void Gawdefcoordscb (int wi, Gawdata_t *dp) { ~~~~^~ garray.c: In function 'Initialize': garray.c:390:12: warning: unused parameter 'reqw' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~^~~~ garray.c:390:39: warning: unused parameter 'args' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~~^~~~ garray.c:390:55: warning: unused parameter 'num_args' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~~~~^~~~~~~~ garray.c: In function 'SetValues': garray.c:422:25: warning: unused parameter 'reqw' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~^~~~ garray.c:422:52: warning: unused parameter 'args' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~~^~~~ garray.c:422:68: warning: unused parameter 'num_args' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ~~~~~~~~~~^~~~~~~~ garray.c: In function 'GeometryManager': garray.c:445:27: warning: unsigned conversion from 'int' to 'XtGeometryMask' {aka 'unsigned int'} changes value from '-16' to '4294967280' [-Wsign-conversion] if (req->request_mode & ~(CWX | CWY | CWWidth | CWHeight)) ^ garray.c:441:56: warning: unused parameter 'rep' [-Wunused-parameter] Widget w, XtWidgetGeometry *req, XtWidgetGeometry *rep ~~~~~~~~~~~~~~~~~~^~~ garray.c: In function 'InsertChild': garray.c:476:52: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] (long) (aw->array.data.cn + CHILDINCR) * CHILDSIZE ^ garray.c:476:52: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] (long) (aw->array.data.cn + CHILDINCR) * CHILDSIZE ^ In file included from glabel.c:18: glabel.c: In function 'GLcreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ glabel.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ glabel.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ garray.c: In function 'dolayout': garray.c:530:21: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] req.width = sx, req.height = sy; ^~ glabel.c:54:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ garray.c:530:38: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] req.width = sx, req.height = sy; ^~ glabel.c:55:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ glabel.c:56:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ garray.c:545:37: warning: conversion from 'int' to 'Position' {aka 'short int'} may change value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ~~^~~~ garray.c:545:45: warning: conversion from 'int' to 'Position' {aka 'short int'} may change value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ~~^~~~ garray.c:545:53: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ~~^~~~ garray.c:545:61: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ~~^~~~ garray.c:545:69: warning: conversion from 'int' to 'Dimension' {aka 'short unsigned int'} may change value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ~~^~~~ glabel.c:87:53: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "label", labelWidgetClass, parent->w, argp, argn ^~~~ In file included from glabel.c:18: glabel.c: In function 'GLsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ glabel.c:107:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ glabel.c:107:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ glabel.c:123:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ glabel.c:124:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ glabel.c:125:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ glabel.c:149:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ glabel.c: In function 'GLgetwidgetattr': glabel.c:164:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c:169:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c:174:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c: In function 'Glwbutaction': glabel.c:211:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] if ((gev.data = evp->xbutton.button - Button1) > 4) ^~~ glabel.c:200:50: warning: unused parameter 'app' [-Wunused-parameter] void Glwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ glabel.c:200:69: warning: unused parameter 'anp' [-Wunused-parameter] void Glwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ glabel.c: In function 'Glwkeyaction': glabel.c:231:50: warning: unused parameter 'app' [-Wunused-parameter] void Glwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gmenu.c: In function 'GMcreatewidget': glabel.c:231:69: warning: unused parameter 'anp' [-Wunused-parameter] void Glwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ gmenu.c:28:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ~~~~~~~~~~~^~~~~~ gmenu.c: In function 'GMmenudisplay': gmenu.c:117:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gmenu.c:129:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gmenu.c: In function 'mwcallback': gmenu.c:139:32: warning: unused parameter 'w' [-Wunused-parameter] static void mwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~^ gmenu.c:139:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void mwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~ In file included from gcanvas.c:18: gcanvas.c: In function 'GCcreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gcanvas.c:121:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gcanvas.c:121:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcanvas.c:185:55: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "graphics", coreWidgetClass, parent->w, argp, argn ^~~~ gcanvas.c:205:48: warning: cast from function call of type 'Window' {aka 'long unsigned int'} to non-matching type 'char *' [-Wbad-function-cast] XPeekIfEvent (Gdisplay, &ev, cwvpredicate, (XPointer) XtWindow (widget->w)); ^ gcanvas.c:209:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:210:12: warning: conversion to 'short int' from 'Dimension' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] ps.x = width, ps.y = height; ^~~~~ gcanvas.c:210:26: warning: conversion to 'short int' from 'Dimension' {aka 'short unsigned int'} may change the sign of the result [-Wsign-conversion] ps.x = width, ps.y = height; ^~~~~~ gcanvas.c:218:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcommon.c: In function 'Gflushlazyq': gcommon.c:226:45: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtManageChildren (Glazyq.mws, Glazyq.mwn); ~~~~~~^~~~ gcommon.c: In function 'Glazymanage': gcommon.c:263:49: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtManageChildren (Glazyq.mws, Glazyq.mwn); ~~~~~~^~~~ gcanvas.c:272:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cursormap[curi].id = XCreateFontCursor (Gdisplay, curi); ^~~~ gcanvas.c:295:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:295:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:295:52: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:302:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:302:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcommon.c: In function 'Gprocessevents': gcommon.c:302:5: warning: switch missing default case [-Wswitch-default] switch (waitflag) { ^~~~~~ gcanvas.c:302:52: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:311:47: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:324:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:260:9: warning: switch missing default case [-Wswitch-default] switch (attrp[ai].id) { ^~~~~~ In file included from gcanvas.c:18: gcanvas.c: In function 'GCsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gcanvas.c:344:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gcanvas.c:344:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcanvas.c:362:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cursormap[curi].id = XCreateFontCursor (Gdisplay, curi); ^~~~ gcanvas.c:386:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:386:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:386:52: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:52: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:401:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:415:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:421:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:439:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c: In function 'GCgetwidgetattr': gcanvas.c:454:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:459:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:475:35: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] attrp[ai].u.c.r = cp->red / 257.0; ^~ gcanvas.c:476:35: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] attrp[ai].u.c.g = cp->green / 257.0; ^~ gcanvas.c:477:35: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] attrp[ai].u.c.b = cp->blue / 257.0; ^~ gcanvas.c: In function 'GCarrow': gcanvas.c:567:12: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gcanvas.c:567:34: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gcanvas.c:573:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pa.x = l * cos (tangent + M_PI / 7) + pp2.x; ^ gcanvas.c:574:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pa.y = l * sin (tangent + M_PI / 7) + pp2.y; ^ gcanvas.c:575:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pb.x = l * cos (tangent - M_PI / 7) + pp2.x; ^ gcanvas.c:576:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pb.y = l * sin (tangent - M_PI / 7) + pp2.y; ^ gcanvas.c: In function 'GCbox': gcanvas.c:619:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ~~~~~~~^~~~~~~~ gcanvas.c:619:53: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ~~~~~~~^~~~~~~~ gcanvas.c:624:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ~~~~~~~^~~~~~~~ gcanvas.c:624:53: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ~~~~~~~^~~~~~~~ gcanvas.c: In function 'GCpolygon': gcanvas.c:646:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:646:43: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); gcanvas.c: In function 'GCsplinegon': gcanvas.c:682:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:682:43: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); gcanvas.c: In function 'bezier': gcanvas.c:719:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] steps = s.x / 5 + 1; ^ gcanvas.c:721:17: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] steps = s.y / 5 + 1; ^ gcanvas.c:734:15: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] p.x = gp0.x + t * (gp1.x - gp0.x) + 0.5; ^~~ gcanvas.c:735:15: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] p.y = gp0.y + t * (gp1.y - gp0.y) + 0.5; ^~~ gcanvas.c:738:47: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:738:47: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); gcanvas.c: In function 'GCarc': gcanvas.c:762:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ~~~~~^~~ gcanvas.c:762:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ~~~~~^~~ gcanvas.c:767:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ~~~~~^~~ gcanvas.c:767:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ~~~~~^~~ gcanvas.c: In function 'GCtext': gcanvas.c:807:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] case 'l': po.x += w / 2; break; ^ gcanvas.c:808:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] case 'r': po.x -= w / 2; break; ^ gcanvas.c:806:5: warning: switch missing default case [-Wswitch-default] switch (justs[0]) { ^~~~~~ gcanvas.c:811:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] case 'd': po.y -= h; break; ^ gcanvas.c:812:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] case 'b': po.y -= (h - des); break; ^ gcanvas.c:813:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] case 'c': po.y -= h / 2; break; ^ gcanvas.c:810:5: warning: switch missing default case [-Wswitch-default] switch (justs[1]) { ^~~~~~ gcanvas.c:815:14: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pr.o.x = po.x - w / 2, pr.o.y = po.y; ^~ gcanvas.c:816:14: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pr.c.x = po.x + w / 2, pr.c.y = po.y + h; ^~ gcanvas.c:816:37: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pr.c.x = po.x + w / 2, pr.c.y = po.y + h; ^~ gcanvas.c:821:9: warning: switch missing default case [-Wswitch-default] switch (tlp[i].j) { ^~~~~~ gcanvas.c: In function 'GCgettextsize': gcanvas.c:862:51: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ps.x = max (ps.x, txtinfo.width), ps.y += asc + des; ^~~ gcanvas.c: In function 'findfont': gcanvas.c:880:13: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen (&Gbufp[0]) + 1; ^~~~~~ gcanvas.c:893:54: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gfontp = Marraygrow (Gfontp, (long) (Gfontn + 1) * FONTSIZE); ^ gcanvas.c:893:54: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gfontp = Marraygrow (Gfontp, (long) (Gfontn + 1) * FONTSIZE); gcanvas.c: In function 'GCcreatebitmap': gcanvas.c:910:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^~~~~~~~~ gcanvas.c:910:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^~~~~~~~~ gcanvas.c:910:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^~~~~~ gcanvas.c: In function 'GCreadbitmap': gcanvas.c:973:9: warning: switch missing default case [-Wswitch-default] switch (step) { ^~~~~~ gcanvas.c:1004:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^~~~~~~~~ gcanvas.c:1004:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^~~~~~~~~ gcanvas.c:1004:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^~~~~~ gcanvas.c:1016:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^~~~~~ gcanvas.c:1016:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^~~~~~~~~ gcanvas.c:1016:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^~~~~~~~~ gcanvas.c:1022:50: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((img->data = malloc (img->bytes_per_line * img->height)) == NULL) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcanvas.c:1041:33: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((bufn = fread (bufp, 1, 2047, fp)) == 0) { ^~~~~ gcanvas.c:1060:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] colors[colorn].red = rgb[0]; ^~~ gcanvas.c:1061:40: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] colors[colorn].green = rgb[1]; ^~~ gcanvas.c:1062:39: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] colors[colorn].blue = rgb[2]; ^~~ gcanvas.c:1081:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 0, 0, 0, 0, (int) s.x, (int) s.y ^~~~~~~~~ gcanvas.c:1081:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 0, 0, 0, 0, (int) s.x, (int) s.y ^~~~~~~~~ gcanvas.c: In function 'GCwritebitmap': gcanvas.c:1118:21: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] bitmap->size.x, bitmap->size.y, AllPlanes, ZPixmap ~~~~~~~~~~~~^~ gcanvas.c:1118:37: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] bitmap->size.x, bitmap->size.y, AllPlanes, ZPixmap ~~~~~~~~~~~~^~ gcanvas.c:1125:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] w = bitmap->size.x; ^~~~~~ gcanvas.c:1126:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] h = bitmap->size.y; ^~~~~~ gcanvas.c:1129:22: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] colori = XGetPixel (img, x, y); ^~~~~~~~~ gcanvas.c:1130:28: warning: conversion from 'int' to 'char' may change value [-Wconversion] bufp[bufi++] = colors[colori].red / 257; ^~~~~~ gcanvas.c:1131:28: warning: conversion from 'int' to 'char' may change value [-Wconversion] bufp[bufi++] = colors[colori].green / 257; ^~~~~~ gcanvas.c:1132:28: warning: conversion from 'int' to 'char' may change value [-Wconversion] bufp[bufi++] = colors[colori].blue / 257; ^~~~~~ gcanvas.c:1134:34: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite (bufp, 1, bufi, fp); ^~~~ gcanvas.c:1140:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] fwrite (bufp, 1, bufi, fp); ^~~~ gcanvas.c: In function 'GCbitblt': gcanvas.c:1174:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1174:55: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1183:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ~~~~~~~~~~~~~~~~^~~ gcanvas.c:1183:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ~~~~~~~~~~~~~~~~^~~ gcanvas.c:1197:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1197:55: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1206:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ~~~~~~~~~~~~~~~~^~~ gcanvas.c:1206:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ~~~~~~~~~~~~~~~~^~~ gcanvas.c: In function 'scalebitmap': gcanvas.c:1231:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~~~~~~~~ gcanvas.c:1231:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~~~~~~~~ gcanvas.c:1231:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~ gcanvas.c:1255:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) bitmap->size.x, (int) bitmap->size.y, AllPlanes, ZPixmap ^~~~~~~~~~~~~~~~~~~~ gcanvas.c:1255:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) bitmap->size.x, (int) bitmap->size.y, AllPlanes, ZPixmap ^~~~~~~~~~~~~~~~~~~~ gcanvas.c:1261:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~~~~~~~~ gcanvas.c:1261:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~~~~~~~~ gcanvas.c:1261:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~ gcanvas.c:1273:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) (bitmap->size.x * scale.x), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcanvas.c:1274:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) (bitmap->size.y * scale.y), AllPlanes, ZPixmap ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcanvas.c:1284:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^~~~~~ gcanvas.c:1284:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^~~~~~~~~~~~~ gcanvas.c:1284:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^~~~~~~~~~~~~ gcanvas.c:1291:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((simg->data = malloc (simg->bytes_per_line * simg->height)) == NULL) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ gcanvas.c:1301:10: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] y2 = yr2 = yl2 = 0; ^~~ gcanvas.c:1348:38: warning: conversion from 'double' to 'short unsigned int' may change value [-Wfloat-conversion] colors[colorn].red = rgb[0]; ^~~ gcanvas.c:1349:40: warning: conversion from 'double' to 'short unsigned int' may change value [-Wfloat-conversion] colors[colorn].green = rgb[1]; ^~~ gcanvas.c:1350:39: warning: conversion from 'double' to 'short unsigned int' may change value [-Wfloat-conversion] colors[colorn].blue = rgb[2]; ^~~ gcanvas.c:1369:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y ^~~~~~~~~~~~~ gcanvas.c:1369:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y ^~~~~~~~~~~~~ gcanvas.c: In function 'GCgetmousecoords': gcanvas.c:1389:12: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1389:22: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c: In function 'Gcwbutaction': gcanvas.c:1410:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gev.data = evp->xbutton.button - Button1; ^~~ gcanvas.c:1413:16: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = evp->xbutton.x, pp.y = evp->xbutton.y; ^~~ gcanvas.c:1413:39: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = evp->xbutton.x, pp.y = evp->xbutton.y; ^~~ gcanvas.c:1398:50: warning: unused parameter 'app' [-Wunused-parameter] void Gcwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gcanvas.c:1398:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gcwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ gcanvas.c: In function 'Gcwkeyaction': gcanvas.c:1463:16: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1463:26: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1442:50: warning: unused parameter 'app' [-Wunused-parameter] void Gcwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gcanvas.c:1442:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gcwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ gcanvas.c: In function 'setgattr': gcanvas.c:1513:20: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] pati = ( ^ gcanvas.c: In function 'rdrawtopix': gcanvas.c:1562:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.x = tvx * (gr.o.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1563:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.y = tvy * (1.0 - (gr.c.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c:1564:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.x = tvx * (gr.c.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1565:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.y = tvy * (1.0 - (gr.o.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c: In function 'pdrawtopix': gcanvas.c:1576:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.x = tvx * (gp.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1577:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.y = tvy * (1.0 - (gp.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c: In function 'sdrawtopix': gcanvas.c:1588:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] ps.x = tvx * (gs.x - 1) / twx + 1.5; ^~~ gcanvas.c:1589:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] ps.y = tvy * (gs.y - 1) / twy + 1.5; ^~~ gcanvas.c: In function 'rdrawtobpix': gcanvas.c:1640:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.x = gr.o.x + 0.5; ^~ gcanvas.c:1641:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.y = tvy - gr.c.y + 0.5; ^~~ gcanvas.c:1642:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.x = gr.c.x + 0.5; ^~ gcanvas.c:1643:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.y = tvy - gr.o.y + 0.5; ^~~ gcanvas.c: In function 'pdrawtobpix': gcanvas.c:1652:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.x = gp.x + 0.5; ^~ gcanvas.c:1653:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.y = tvy - gp.y + 0.5; ^~~ gcanvas.c: In function 'adjustclip': gcanvas.c:1669:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:1673:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (parent->w, argp, argn); ^~~~ gcanvas.c:40:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gcanvas.c:1674:14: note: in expansion of macro 'max' pr.o.x = max (0, -x); ^~~ gcanvas.c:40:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gcanvas.c:1675:14: note: in expansion of macro 'max' pr.o.y = max (0, -y); ^~~ gcanvas.c:41:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define min(a, b) (((a) <= (b)) ? (a) : (b)) ^ gcanvas.c:1676:14: note: in expansion of macro 'min' pr.c.x = min (width, pr.o.x + pwidth); ^~~ gcanvas.c:41:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] #define min(a, b) (((a) <= (b)) ? (a) : (b)) ^ gcanvas.c:1677:14: note: in expansion of macro 'min' pr.c.y = min (height, pr.o.y + pheight); ^~~ gcanvas.c: In function 'cwepredicate': gcanvas.c:1689:36: warning: unused parameter 'display' [-Wunused-parameter] static Bool cwepredicate (Display *display, XEvent *evp, XPointer data) { ~~~~~~~~~^~~~~~~ gcanvas.c: In function 'cweventhandler': gcanvas.c:1696:25: warning: unused parameter 'data' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ~~~~~~~~~~^~~~ gcanvas.c:1696:39: warning: unused parameter 'evp' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ~~~~~~~~^~~ gcanvas.c:1696:53: warning: unused parameter 'cont' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ~~~~~~~~~^~~~ gcanvas.c: In function 'cwvpredicate': gcanvas.c:1709:36: warning: unused parameter 'display' [-Wunused-parameter] static Bool cwvpredicate (Display *display, XEvent *evp, XPointer data) { ~~~~~~~~~^~~~~~~ CC gpcanvas.lo CC gquery.lo CC gscroll.lo CC gtext.lo CC gview.lo In file included from gpcanvas.c:18: gpcanvas.c: In function 'GPcreatewidget': gpcanvas.c:84:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gpcanvas.c:84:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gpcanvas.c:87:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINPWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gpcanvas.c:87:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINPWSIZE); ^~~~~~~ gpcanvas.c:187:9: warning: switch missing default case [-Wswitch-default] switch (attrp[ai].id) { ^~~~~~ gpcanvas.c:59:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, ~~~~~~~~~~~^~~~~~ gpcanvas.c: In function 'GParrow': gpcanvas.c:356:12: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gpcanvas.c:356:34: warning: conversion from 'int' to 'short int' may change value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gpcanvas.c:360:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] if ((l = sqrt ((double) (pd.x * pd.x + pd.y * pd.y))) < 30) ^~~~ gpcanvas.c:362:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pa.x = l * cos (tangent + M_PI / 7) + pp2.x; ^ gpcanvas.c:363:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pa.y = l * sin (tangent + M_PI / 7) + pp2.y; ^ gpcanvas.c:364:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pb.x = l * cos (tangent - M_PI / 7) + pp2.x; ^ gpcanvas.c:365:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pb.y = l * sin (tangent - M_PI / 7) + pp2.y; ^ In file included from gscroll.c:18: gscroll.c: In function 'GScreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gscroll.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gscroll.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gscroll.c:62:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gscroll.c:63:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gscroll.c:64:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gscroll.c:90:57: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "scroll", viewportWidgetClass, parent->w, argp, argn ^~~~ In file included from gscroll.c:18: gscroll.c: In function 'GSsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gscroll.c:126:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gpcanvas.c: In function 'GPreadbitmap': gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gscroll.c:126:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gpcanvas.c:582:9: warning: switch missing default case [-Wswitch-default] switch (step) { ^~~~~~ gpcanvas.c:623:33: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((bufn = fread (bufp, 1, 2047, fp)) == 0) { ^~~~~ gpcanvas.c: In function 'GPwritebitmap': gscroll.c:134:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gpcanvas.c:637:31: warning: unused parameter 'bitmap' [-Wunused-parameter] int GPwritebitmap (Gbitmap_t *bitmap, FILE *fp) { ~~~~~~~~~~~^~~~~~ gscroll.c:134:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gpcanvas.c:637:45: warning: unused parameter 'fp' [-Wunused-parameter] int GPwritebitmap (Gbitmap_t *bitmap, FILE *fp) { ~~~~~~^~ gscroll.c:137:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:138:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] po.x -= width / 2, po.y -= height / 2; ^~~~~ gpcanvas.c: In function 'GPbitblt': gscroll.c:138:40: warning: conversion from 'int' to 'short int' may change value [-Wconversion] po.x -= width / 2, po.y -= height / 2; ^~~~~~ gpcanvas.c:664:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] bs.x = (pr.c.x - pr.o.x + 1) / scale.x; ^ gpcanvas.c:665:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] bs.y = (pr.c.y - pr.o.y + 1) / scale.y; ^ gpcanvas.c:666:29: warning: conversion from 'int' to 'short int' may change value [-Wconversion] br.o.x = pp.x, br.o.y = pp.y - bs.y + 1; ^~ gpcanvas.c:667:14: warning: conversion from 'int' to 'short int' may change value [-Wconversion] br.c.x = br.o.x + bs.x - 1, br.c.y = br.o.y + bs.y - 1; ^~ gpcanvas.c:667:42: warning: conversion from 'int' to 'short int' may change value [-Wconversion] br.c.x = br.o.x + bs.x - 1, br.c.y = br.o.y + bs.y - 1; ^~ gpcanvas.c:669:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.x -= br.o.x * scale.x, br.o.x = 0; ^~ gscroll.c:159:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gpcanvas.c:671:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.y -= br.o.y * scale.y, br.o.y = 0; ^~ gscroll.c:160:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gscroll.c:161:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gpcanvas.c:673:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.x -= (br.c.x + 1 - bitmap->size.x) * scale.x; ^ gpcanvas.c:674:18: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.x = bitmap->size.x - 1; ^~~~~~ gpcanvas.c:677:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.y -= (br.c.y + 1 - bitmap->size.y) * scale.y; ^ gpcanvas.c:678:18: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.y = bitmap->size.y - 1; ^~~~~~ gpcanvas.c:681:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.o.x -= pr.o.x / scale.x, pr.o.x = 0; ^~ gscroll.c:182:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gpcanvas.c:683:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.o.y -= pr.o.y / scale.y, pr.o.y = 0; ^~ gpcanvas.c:685:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.x -= (pr.c.x + 1 - tvx) / scale.x, pr.c.x = tvx - 1; ^ gpcanvas.c:685:58: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.x -= (pr.c.x + 1 - tvx) / scale.x, pr.c.x = tvx - 1; ^~~ gscroll.c: In function 'GSgetwidgetattr': gscroll.c:200:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gpcanvas.c:687:19: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.y -= (pr.c.y + 1 - tvy) / scale.y, pr.c.y = tvy - 1; ^ gpcanvas.c:687:58: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] br.c.y -= (pr.c.y + 1 - tvy) / scale.y, pr.c.y = tvy - 1; ^~~ gscroll.c:205:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gpcanvas.c:688:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] bs.x = (pr.c.x - pr.o.x + 1) / scale.x; ^ gpcanvas.c:689:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] bs.y = (pr.c.y - pr.o.y + 1) / scale.y; ^ gscroll.c:220:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:224:42: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (child->w, argp, argn); ^~~~ gpcanvas.c:643:11: warning: unused parameter 'mode' [-Wunused-parameter] char *mode, Ggattr_t *ap ~~~~~~^~~~ gpcanvas.c: In function 'rdrawtopix': gpcanvas.c:754:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.x = tvx * (gr.o.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:755:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.o.y = tvy * (gr.o.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c:756:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.x = tvx * (gr.c.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:757:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pr.c.y = tvy * (gr.c.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c: In function 'pdrawtopix': gpcanvas.c:768:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.x = tvx * (gp.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:769:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.y = tvy * (gp.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c: In function 'sdrawtopix': gpcanvas.c:780:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] ps.x = tvx * (gs.x - 1) / twx + 1.5; ^~~ gpcanvas.c:781:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] ps.y = tvy * (gs.y - 1) / twy + 1.5; ^~~ gpcanvas.c: In function 'pdrawtobpix': gpcanvas.c:790:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.x = gp.x + 0.5; ^~ gpcanvas.c:791:12: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] pp.y = tvy - gp.y + 0.5; ^~~ gquery.c: In function 'GQcreatewidget': gquery.c:68:59: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "dialog", dialogWidgetClass, widget->w, argp, argn ^~~~ gquery.c:96:59: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "dialog", dialogWidgetClass, widget->w, argp, argn ^~~~ gquery.c:55:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c:27:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ~~~~~~~~~~~^~~~~~ gquery.c: In function 'GQgetwidgetattr': gquery.c:132:13: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'GQdestroywidget': gquery.c:156:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'GQqueryask': gquery.c:188:36: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (WQU->w, argp, argn); ^~~~ gquery.c:198:39: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gquery.c:211:39: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gquery.c:219:70: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] responsep, XawDialogGetValueString (WQU->w), responsen ^~~~~~~~~ gquery.c:246:36: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (WQU->w, argp, argn); ^~~~ gquery.c:271:39: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gquery.c:284:39: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gquery.c:291:63: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] strncpy (responsep, buttons[WQU->button], responsen); ^~~~~~~~~ gquery.c:183:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'Gqwpopaction': gquery.c:316:9: warning: cast from function call of type 'Widget' {aka 'struct _WidgetRec *'} to non-matching type 'long unsigned int' [-Wbad-function-cast] (unsigned long) XtParent (XtParent (w)), G_QUERYWIDGET ^ gquery.c:307:50: warning: unused parameter 'app' [-Wunused-parameter] void Gqwpopaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gquery.c:307:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gqwpopaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ gquery.c: In function 'Gqwdelaction': gquery.c:321:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~^~~ gquery.c:321:50: warning: unused parameter 'app' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gquery.c:321:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ gquery.c: In function 'qwcallback': gquery.c:328:45: warning: unused parameter 'clientdata' [-Wunused-parameter] static void qwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~~~ gquery.c:328:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void qwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~ gquery.c: In function 'qbwcallback': gquery.c:339:9: warning: cast from function call of type 'Widget' {aka 'struct _WidgetRec *'} to non-matching type 'long unsigned int' [-Wbad-function-cast] (unsigned long) XtParent (XtParent (w)), G_QUERYWIDGET ^ gquery.c:335:68: warning: unused parameter 'calldata' [-Wunused-parameter] static void qbwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ~~~~~~~~~~^~~~~~~~ In file included from gtext.c:18: gtext.c: In function 'GTcreatewidget': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gtext.c:47:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gtext.c:47:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gtext.c:67:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gtext.c:68:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gtext.c:69:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gtext.c:108:57: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] "ascii", asciiTextWidgetClass, parent->w, argp, argn ^~~~ In file included from gtext.c:18: gtext.c: In function 'GTsetwidgetattr': gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gtext.c:132:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gtext.c:132:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gtext.c:145:42: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] tb.firstPos = 0, tb.length = strlen (attrp[ai].u.t); ^~~~~~ gtext.c:171:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gtext.c:172:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gtext.c:173:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gtext.c:197:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gtext.c: In function 'GTgetwidgetattr': gtext.c:215:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c:220:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c:228:61: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); ^ gtext.c:228:61: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); gtext.c:245:61: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); ^ gtext.c:245:61: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); gtext.c:255:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c: In function 'Gtweolaction': gtext.c:291:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~^~~ gtext.c:291:50: warning: unused parameter 'app' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gtext.c:291:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ In file included from gview.c:18: gview.c: In function 'GVcreatewidget': gview.c:44:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gview.c:44:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gview.c:49:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gview.c:49:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gview.c:60:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gview.c:61:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gview.c:62:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gview.c:92:63: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] s, "LEFTY", topLevelShellWidgetClass, Gdisplay, argp, argn ^~~~ gview.c:23:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ~~~~~~~~~~~^~~~~~ In file included from gview.c:18: gview.c: In function 'GVsetwidgetattr': gview.c:118:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gview.c:118:24: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^~~~~ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gview.c:123:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion from 'double' to 'short int' may change value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gview.c:123:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gview.c:143:21: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gview.c:144:23: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gview.c:145:22: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gview.c:180:35: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gview.c: In function 'GVgetwidgetattr': gview.c:195:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gview.c:201:43: warning: conversion to 'Cardinal' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gview.c: In function 'Gwmdelaction': gview.c:234:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~^~~ gview.c:234:50: warning: unused parameter 'app' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~^~~ gview.c:234:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ~~~~~~~~~~~~~~^~~ CCLD libws.la make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' Making all in mswin32 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' Making all in os make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' Making all in unix make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' CC io.lo io.c: In function 'IOinit': io.c:102:35: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] iop = Marrayalloc ((long) ion * IOSIZE); ^ io.c:102:35: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] iop = Marrayalloc ((long) ion * IOSIZE); io.c: In function 'IOopen': io.c:159:54: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] iop = Marraygrow (iop, (long) (ion + IOINCR) * IOSIZE); ^ io.c:159:54: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] iop = Marraygrow (iop, (long) (ion + IOINCR) * IOSIZE); io.c:167:5: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ io.c: In function 'IOreadline': io.c:271:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] l = strlen (bufp) - 1; ^~~~~~ io.c: In function 'IOread': io.c:284:48: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if ((l = read (fileno (p->ifp), bufp, bufn - 1)) == -1) ~~~~~^~~ io.c: In function 'findpty': io.c:397:33: warning: unsigned conversion from 'int' to 'tcflag_t' {aka 'unsigned int'} changes value from '-9' to '4294967287' [-Wsign-conversion] tio.c_lflag &= ~ECHO; ^~ io.c: In function 'sigchldhandler': io.c:462:33: warning: unused parameter 'data' [-Wunused-parameter] static void sigchldhandler (int data) { ~~~~^~~~ io.c: In function 'ptyopen': io.c:360:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "ptyopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:361:5: note: here case 0: ^~~~ io.c:365:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "ptyopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:366:5: note: here default: ^~~~~~~ io.c:362:35: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (fd[0]), close (0), dup (fd[1]); ^~~~~~~~~~~ io.c:363:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (1), dup (fd[1]), close (fd[1]); ^~~~~~~~~~~ io.c: In function 'pipeopen': io.c:420:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "pipeopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:421:5: note: here case 0: ^~~~ io.c:432:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "pipeopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:433:5: note: here default: ^~~~~~~ io.c:429:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (1), dup (p1[1]), close (p1[1]); ^~~~~~~~~~~ io.c:430:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (0), dup (p2[0]), close (p2[0]); ^~~~~~~~~~~ io.c: In function 'socketopen': io.c:447:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "socketopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:448:5: note: here case 0: ^~~~ io.c:450:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "socketopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:451:5: note: here default: ^~~~~~~ CCLD libos.la make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' Making all in mswin32 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' Making all in dot2l make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' CC dot2l.lo CC dotlex.lo CC dotparse.lo CC dottrie.lo y.tab.c: In function 'yyparse': y.tab.c:1128:12: warning: conversion from 'int' to 'yytype_int16' {aka 'short int'} may change value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1133:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~ dot2l.c: In function 'filllabelrect': dot2l.c:202:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ In file included from dot2l.c:18: dot2l.c: In function 'D2Lwritegraph': ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:315:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:315:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ dotlex.c:41:5: warning: no previous prototype for 'lex_begin' [-Wmissing-prototypes] int lex_begin (int ioi) { ^~~~~~~~~ dotlex.c:52:5: warning: no previous prototype for 'myyylex' [-Wmissing-prototypes] int myyylex (void) { /* for debugging */ ^~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:334:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:334:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:351:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (eo); ^~~~~~~~~~ dotlex.c:129:1: warning: no previous prototype for 'yyerror' [-Wmissing-prototypes] yyerror (char *fmt, char *s) { ^~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:351:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (eo); ^~~~~~~~~~ dotlex.c: In function 'lex_gets': dotlex.c:149:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen (clp); ^~~~~~ dotlex.c:163:20: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((len = strlen (clp)) > 1) { ^~~~~~ dotlex.c:171:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (!(lexbuf = realloc (lexbuf, lexsiz * 2))) { ~~~~~~~^~~ dotlex.c: In function 'lex_token': dotlex.c:188:9: warning: conversion from 'int' to 'char' may change value [-Wconversion] TFA_Advance (*p++); ^~~~~~~~~~~ dot2l.c: In function 'writeattr': dot2l.c:465:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (tkvi.kvp->ko)) { ^~~~~~ dotlex.c: In function 'scan_token': dotlex.c:255:11: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (p == '\0') ^~ dotlex.c:255:9: note: did you mean to dereference the pointer? if (p == '\0') ^ In file included from dot2l.c:18: dot2l.c: In function 'D2Lpushgraph': ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:603:15: note: in expansion of macro 'Tgetnumber' gid = Tgetnumber (idobj), gstack->g = g = Tfindi (allgraphs, gid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:603:15: note: in expansion of macro 'Tgetnumber' gid = Tgetnumber (idobj), gstack->g = g = Tfindi (allgraphs, gid); ^~~~~~~~~~ dot2l.c: In function 'D2Linsertnode': ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:656:15: note: in expansion of macro 'Tgetnumber' nid = Tgetnumber (idobj), n = Tfindi (allnodes, nid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion from 'double' to 'long int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:656:15: note: in expansion of macro 'Tgetnumber' nid = Tgetnumber (idobj), n = Tfindi (allnodes, nid); ^~~~~~~~~~ dot2l.c: In function 'D2Lsetattr': dot2l.c:755:9: warning: switch missing default case [-Wswitch-default] switch (attrclass) { ^~~~~~ dot2l.c:762:5: warning: switch missing default case [-Wswitch-default] switch (attrclass) { ^~~~~~ dot2l.c: In function 'filllabeltable': dot2l.c:148:16: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(lsp + 1)) { ^ dot2l.c:155:9: note: here default: ^~~~~~~ CCLD libdot2l.la make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' Making all in examples make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' CC code.o CC display.o CC common.o CC exec.o CC gfxview.o CC g.o code.c: In function 'Cnew': code.c:51:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:51:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Cinteger': code.c:64:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:64:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Creal': code.c:78:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:78:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Cstring': code.c:91:24: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] size = (strlen (s) + Cstringoffset + CBUFSIZE - 1) / CBUFSIZE; ^ code.c:91:12: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] size = (strlen (s) + Cstringoffset + CBUFSIZE - 1) / CBUFSIZE; ^ code.c:94:58: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + incr) * CBUFSIZE); ^ code.c:94:58: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + incr) * CBUFSIZE); ^ display.c: In function 'update': display.c:86:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(list = malloc (n * sizeof (dnode_t)))) ^ display.c:96:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] qsort ((char *) list, n, sizeof (dnode_t), cmp); ^ display.c: In function 'cmp': display.c:123:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (dnode_t *) a, bnode = (dnode_t *) b; ^ display.c:123:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (dnode_t *) a, bnode = (dnode_t *) b; ^ display.c: In function 'add2seen': display.c:152:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ display.c:152:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ exec.c: In function 'Eunit': exec.c:191:66: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:191:66: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c: In function 'eeval': exec.c:266:9: warning: switch missing default case [-Wswitch-default] switch (ctype) { ^~~~~~ exec.c: In function 'efcall': exec.c:442:66: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:442:66: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:472:64: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + 1) * LVARSIZE); ^ exec.c:472:64: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + 1) * LVARSIZE); ^ exec.c:498:61: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + ln) * LVARSIZE); ^ exec.c:498:61: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + ln) * LVARSIZE); ^ exec.c: In function 'eforinst': exec.c:632:34: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] if (getvar ((Tobj) c1o, ei1, (tnk_t *) &tnk) == -1) { ^ exec.c:653:33: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] Tgetfirst ((Tobj) tblo, (Tkvindex_t *) &tkvi); tkvi.kvp; ^ exec.c:654:19: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] Tgetnext ((Tkvindex_t *) &tkvi) ^ CC internal.o exec.c: In function 'setvar': exec.c:809:9: warning: switch missing default case [-Wswitch-default] switch (tnk.u.tnks.kt) { ^~~~~~ exec.c: In function 'boolop': exec.c:841:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return (d == 0.0) ? FALSE : TRUE; ^~ exec.c: In function 'orderop': exec.c:870:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (i1 == d2) ? 0 : ((i1 < d2) ? -1 : 1); ^~ exec.c:873:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (d1 == i2) ? 0 : ((d1 < i2) ? -1 : 1); ^~ exec.c:876:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (d1 == d2) ? 0 : ((d1 < d2) ? -1 : 1); ^~ exec.c:884:5: warning: switch missing default case [-Wswitch-default] switch (op) { ^~~~~~ gfxview.c: In function 'GFXlabelcb': gfxview.c:200:9: warning: switch missing default case [-Wswitch-default] switch (evp->data) { ^~~~~~ gfxview.c:198:5: warning: switch missing default case [-Wswitch-default] switch (evp->type) { ^~~~~~ gfxview.c:224:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] s[0] = evp->data, s[1] = '\000', Tinss (to, "key", Tstring (s)); ^~~ gfxview.c: In function 'GFXevent': gfxview.c:263:10: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] ni = Gwidgets[evp->wi].udata; ^~~~~~~~ exec.c: In function 'arithop': exec.c:930:5: warning: switch missing default case [-Wswitch-default] switch (op) { ^~~~~~ exec.c:938:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d3 == (double) (long) d3) ^~ gfxview.c:270:9: warning: switch missing default case [-Wswitch-default] switch (evp->data) { ^~~~~~ CC lefty.o gfxview.c:268:5: warning: switch missing default case [-Wswitch-default] switch (evp->type) { ^~~~~~ gfxview.c:342:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] s[0] = evp->data, s[1] = '\000', Tinss (to, "key", Tstring (s)); ^~~ gfxview.c: In function 'GFXbuttoncb': gfxview.c:465:33: warning: unused parameter 'data' [-Wunused-parameter] void GFXbuttoncb (int wi, void *data) { ~~~~~~^~~~ gfxview.c: At top level: gfxview.c:484:6: warning: no previous prototype for 'GFXarrayresizecb' [-Wmissing-prototypes] void GFXarrayresizecb (int wi, Gawdata_t *dp) { ^~~~~~~~~~~~~~~~ In file included from gfxview.c:21: gfxview.c: In function 'GFXarrayresizecb': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:518:14: note: in expansion of macro 'Tgetnumber' wi = Tgetnumber (tkvi.kvp->ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:518:14: note: in expansion of macro 'Tgetnumber' wi = Tgetnumber (tkvi.kvp->ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:526:26: note: in expansion of macro 'Tgetnumber' cp->sx = Tgetnumber (sxo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:526:26: note: in expansion of macro 'Tgetnumber' cp->sx = Tgetnumber (sxo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:528:26: note: in expansion of macro 'Tgetnumber' cp->sy = Tgetnumber (syo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:528:26: note: in expansion of macro 'Tgetnumber' cp->sy = Tgetnumber (syo); ^~~~~~~~~~ gfxview.c: In function 'GFXcreatewidget': gfxview.c:602:53: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] gfxnodes, (long) (ni + GFXNODEINCR) * GFXNODESIZE ^ gfxview.c:602:53: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gfxnodes, (long) (ni + GFXNODEINCR) * GFXNODESIZE ^ gfxview.c:611:53: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:611:53: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:618:34: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] wattrp[wattri].u.u = ni, wattri++; ^~ gfxview.c:622:34: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] wattrp[wattri].u.u = ni, wattri++; ^~ gfxview.c:615:9: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ gfxview.c:586:26: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcreatewidget (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXsetwidgetattr': gfxview.c:648:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetwidgetattr (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXgetwidgetattr': gfxview.c:695:61: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:695:61: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:703:69: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:703:69: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:722:9: warning: switch missing default case [-Wswitch-default] switch (mapp->type) { ^~~~~~ gfxview.c:662:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXgetwidgetattr (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXdestroywidget': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:788:19: note: in expansion of macro 'NODEID' nodeterm (NODEID (wi)); ^~~~~~ gfxview.c:765:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdestroywidget (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXclear': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:804:19: note: in expansion of macro 'NODEID' rectterm (NODEID (wi)), rectinit (NODEID (wi)); ^~~~~~ gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:804:43: note: in expansion of macro 'NODEID' rectterm (NODEID (wi)), rectinit (NODEID (wi)); ^~~~~~ gfxview.c:797:19: warning: unused parameter 'argc' [-Wunused-parameter] int GFXclear (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXsetgfxattr': gfxview.c:809:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetgfxattr (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXgetgfxattr': gfxview.c:868:9: warning: switch missing default case [-Wswitch-default] switch (gattr.style) { ^~~~~~ gfxview.c:823:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXgetgfxattr (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXbox': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:927:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c: In function 'GFXpolygon': gfxview.c:945:42: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:945:42: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c: In function 'GFXsplinegon': gfxview.c:969:42: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:969:42: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c: In function 'GFXarc': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:997:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c: In function 'GFXtextsize': common.c: In function 'pathAppend': gfxview.c:1023:22: warning: unused parameter 'argc' [-Wunused-parameter] int GFXtextsize (int argc, lvar_t *argv) { ~~~~^~~~ common.c:64:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] int newlen = leftypathlen + strlen(s) + addSep; ^ common.c:64:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] int newlen = leftypathlen + strlen(s) + addSep; ^ common.c:64:18: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] int newlen = leftypathlen + strlen(s) + addSep; ^~~~~~~~~~~~ common.c:68:40: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (!(leftypath = realloc (leftypath, leftypathsz))) ^~~~~~~~~~~ gfxview.c: In function 'GFXcreatebitmap': gfxview.c:1045:26: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcreatebitmap (int argc, lvar_t *argv) { ~~~~^~~~ common.c: In function 'init': common.c:112:31: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (!(leftypath = malloc (leftypathsz))) ^~~~~~~~~~~ gfxview.c: In function 'GFXdestroybitmap': gfxview.c:1070:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdestroybitmap (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXreadbitmap': gfxview.c:1081:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXreadbitmap (int argc, lvar_t *argv) { ~~~~^~~~ common.c: In function 'buildpath': common.c:240:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (pathi + 3 + strlen (file) >= PATHINCR) ^ common.c:246:65: warning: conversion to '__mode_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (stat (pathp, &statbuf) == 0 && (statbuf.st_mode & mode)) ^ gfxview.c: In function 'GFXwritebitmap': gfxview.c:1106:25: warning: unused parameter 'argc' [-Wunused-parameter] int GFXwritebitmap (int argc, lvar_t *argv) { ~~~~^~~~ common.c: In function 'buildcommand': common.c:306:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (path) >= CMDINCR) ^ common.c:317:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (buf) >= CMDINCR) ^ gfxview.c: In function 'GFXbitblt': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:1138:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ common.c:328:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (buf) >= CMDINCR) ^ common.c:335:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (host) >= CMDINCR) ^ gfxview.c: In function 'GFXclearpick': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:1149:21: note: in expansion of macro 'NODEID' rectdelete (NODEID (wi), argv[1].o); ^~~~~~ gfxview.c:1143:23: warning: unused parameter 'argc' [-Wunused-parameter] int GFXclearpick (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXsetpick': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:1164:21: note: in expansion of macro 'NODEID' rectinsert (NODEID (wi), argv[1].o, r); ^~~~~~ g.c: In function 'Ginit': g.c:237:45: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gbitmaps = Marrayalloc ((long) Gbitmapn * BITMAPSIZE); ^ g.c:237:45: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbitmaps = Marrayalloc ((long) Gbitmapn * BITMAPSIZE); ^ gfxview.c:1154:21: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetpick (int argc, lvar_t *argv) { ~~~~^~~~ gfxview.c: In function 'GFXdisplaymenu': gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:1182:25: note: in expansion of macro 'NODEID' if ((mi = menufind (NODEID (wi), mo, Tgettime (mo))) != -1) { ^~~~~~ g.c: In function 'Gcreatewidget': g.c:281:5: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ gfxview.c:1193:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (meo)) { ^~~~~~ g.c: In function 'Gsetwidgetattr': g.c:328:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:90:32: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'int' may change value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ~~~~~~~~~~~~^~~~~~ gfxview.c:1209:17: note: in expansion of macro 'NODEID' menuinsert (NODEID (wi), mo, Tgettime (mo), mi); ^~~~~~ g.c: In function 'Ggetwidgetattr': gfxview.c:1169:25: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdisplaymenu (int argc, lvar_t *argv) { ~~~~^~~~ g.c:351:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c: In function 'GFXcolormap': gfxview.c:1227:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (cni = 0; cni < sizeof (colornames) / sizeof (colorname_t); cni++) { ^ g.c: In function 'Gdestroywidget': g.c:374:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1219:22: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcolormap (int argc, lvar_t *argv) { ~~~~^~~~ g.c: In function 'Gcanvasclear': g.c:442:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c: In function 'getwattr': g.c: In function 'Gsetgfxattr': gfxview.c:1265:53: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c:458:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1265:53: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c: In function 'Ggetgfxattr': g.c:474:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1269:9: warning: switch missing default case [-Wswitch-default] switch (*type) { ^~~~~~ g.c: In function 'Garrow': g.c:490:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1306:53: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c: In function 'Gline': g.c:506:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1306:53: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c: In function 'Gbox': g.c:522:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gpolygon': g.c:538:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1334:65: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c: In function 'Gsplinegon': gfxview.c:1334:65: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ g.c:554:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c:1311:9: warning: switch missing default case [-Wswitch-default] switch (Gwattrmap[ap[ai]].type) { ^~~~~~ g.c: In function 'Garc': g.c:572:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gtext': g.c:605:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gcreatebitmap': g.c:654:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gdestroybitmap': g.c:673:5: warning: switch missing default case [-Wswitch-default] switch (bitmap->ctype) { ^~~~~~ g.c: In function 'Greadbitmap': g.c:699:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ In file included from gfxview.c:21: gfxview.c: In function 'getint': g.c: In function 'Gwritebitmap': g.c:720:5: warning: switch missing default case [-Wswitch-default] switch (bitmap->ctype) { ^~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1431:15: note: in expansion of macro 'Tgetnumber' *ip = Tgetnumber (to); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1431:15: note: in expansion of macro 'Tgetnumber' *ip = Tgetnumber (to); ^~~~~~~~~~ g.c: In function 'Gbitblt': g.c:745:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ gfxview.c: In function 'getcolor': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1461:21: note: in expansion of macro 'Tgetnumber' cp->index = Tgetnumber (ko); ^~~~~~~~~~ g.c: In function 'newwidget': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1461:21: note: in expansion of macro 'Tgetnumber' cp->index = Tgetnumber (ko); ^~~~~~~~~~ g.c:777:50: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gwidgets, (long) (Gwidgetn + WIDGETINCR) * WIDGETSIZE ^ g.c:777:50: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gwidgets, (long) (Gwidgetn + WIDGETINCR) * WIDGETSIZE g.c:789:46: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] if (!(new->u.c = (Gcw_t *) malloc (wsizes[type]))) ~~~~~~^~~~~~ g.c: In function 'findwidget': g.c:799:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (Gwidgets[wi].inuse && (uint64_t) Gwidgets[wi].w == w) ^ g.c:805:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (uint64_t) Gwidgets[wi].w == w ^ gfxview.c:1480:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (cni = 0; cni < sizeof (colornames) / sizeof (colorname_t); cni++) { ^ g.c: In function 'newbitmap': g.c:821:50: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Gbitmaps, (long) (Gbitmapn + BITMAPINCR) * BITMAPSIZE ^ g.c:821:50: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbitmaps, (long) (Gbitmapn + BITMAPINCR) * BITMAPSIZE ^ In file included from gfxview.c:21: tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1503:21: note: in expansion of macro 'Tgetnumber' cp->r = Tgetnumber (ro); ^~~~~~~~~~ g.c: In function 'unpackstring': g.c:867:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((n = strlen (s) + 1) > textn) ^~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1503:21: note: in expansion of macro 'Tgetnumber' cp->r = Tgetnumber (ro); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1504:21: note: in expansion of macro 'Tgetnumber' cp->g = Tgetnumber (go); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1504:21: note: in expansion of macro 'Tgetnumber' cp->g = Tgetnumber (go); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1505:21: note: in expansion of macro 'Tgetnumber' cp->b = Tgetnumber (bo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1505:21: note: in expansion of macro 'Tgetnumber' cp->b = Tgetnumber (bo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1515:22: note: in expansion of macro 'Tgetnumber' hc = Tgetnumber (ho); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1515:22: note: in expansion of macro 'Tgetnumber' hc = Tgetnumber (ho); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1516:22: note: in expansion of macro 'Tgetnumber' sc = Tgetnumber (so); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1516:22: note: in expansion of macro 'Tgetnumber' sc = Tgetnumber (so); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1517:22: note: in expansion of macro 'Tgetnumber' vc = Tgetnumber (vo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1517:22: note: in expansion of macro 'Tgetnumber' vc = Tgetnumber (vo); ^~~~~~~~~~ gfxview.c: In function 'rectinsert': gfxview.c:1584:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rp = &gfxnodes[ni].rect[(uint64_t) ko % LISTSIZE]; ^ gfxview.c: In function 'rectmerge': gfxview.c:1609:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rp = &gfxnodes[ni].rect[(uint64_t) ko % LISTSIZE]; ^ gfxview.c: In function 'rectdelete': gfxview.c:1651:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rp = &gfxnodes[ni].rect[(uint64_t) ko % LISTSIZE]; ^ gfxview.c: In function 'menuinsert': gfxview.c:1686:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] mp = &gfxnodes[ni].menu[(uint64_t) ko % LISTSIZE]; ^ gfxview.c: In function 'menufind': gfxview.c:1706:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] mp = &gfxnodes[ni].menu[(uint64_t) ko % LISTSIZE]; ^ gfxview.c: In function 'scanhsv': gfxview.c:1738:10: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] *h = strtod (strp, &endp); ^~~~~~ gfxview.c:1744:10: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] *s = strtod (strp, &endp); ^~~~~~ gfxview.c:1750:10: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] *v = strtod (strp, &endp); ^~~~~~ gfxview.c: In function 'hsv2rgb': gfxview.c:26:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1761:9: note: in expansion of macro 'max' h = max (min (h, 1.0), 0.0); ^~~ gfxview.c:26:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1762:9: note: in expansion of macro 'max' s = max (min (s, 1.0), 0.0); ^~~ gfxview.c:26:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1763:9: note: in expansion of macro 'max' v = max (min (v, 1.0), 0.0); ^~~ gfxview.c:1766:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s == 0.0) ^~ gfxview.c:1769:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (h == 1.0) ^~ gfxview.c:1771:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] h = h * 6.0; ^ gfxview.c:1777:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ internal.c: In function 'Itypeof': internal.c:235:18: warning: unused parameter 'argc' [-Wunused-parameter] int Itypeof (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Icopy': internal.c:245:16: warning: unused parameter 'argc' [-Wunused-parameter] int Icopy (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Itablesize': internal.c:262:21: warning: unused parameter 'argc' [-Wunused-parameter] int Itablesize (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Ireadline': internal.c:302:20: warning: unused parameter 'argc' [-Wunused-parameter] int Ireadline (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iread': internal.c:321:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iread (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iwriteline': internal.c:329:21: warning: unused parameter 'argc' [-Wunused-parameter] int Iwriteline (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iatan': internal.c:336:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iatan (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Itan': internal.c:344:15: warning: unused parameter 'argc' [-Wunused-parameter] int Itan (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Icos': internal.c:349:15: warning: unused parameter 'argc' [-Wunused-parameter] int Icos (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Isin': internal.c:354:15: warning: unused parameter 'argc' [-Wunused-parameter] int Isin (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Isqrt': internal.c:359:16: warning: unused parameter 'argc' [-Wunused-parameter] int Isqrt (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Irandom': internal.c:368:18: warning: unused parameter 'argc' [-Wunused-parameter] int Irandom (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Intos': internal.c:382:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((long) d == d) ^~ internal.c:378:16: warning: unused parameter 'argc' [-Wunused-parameter] int Intos (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iston': internal.c:390:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iston (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iconcat': internal.c:482:29: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if (bufi + (n = strlen (Tgetstring (ao)) + 1) > bufn) ^~~~~~ internal.c:480:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (argv[i].o)) { ^~~~~~ internal.c: In function 'Iquote': internal.c:520:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (so)) { ^~~~~~ internal.c:542:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((n = strlen (s) + 3) * 2 > bufn) ^~~~~~ internal.c: In function 'Ihtmlquote': internal.c:576:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] if ((n = strlen (s) + 1) * 4 > bufn) ^~~~~~ internal.c:567:21: warning: unused parameter 'argc' [-Wunused-parameter] int Ihtmlquote (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Itoint': internal.c:603:17: warning: unused parameter 'argc' [-Wunused-parameter] int Itoint (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Istrlen': internal.c:609:22: warning: conversion to 'long int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] rtno = Tinteger (strlen (Tgetstring (argv[0].o))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ internal.c:608:18: warning: unused parameter 'argc' [-Wunused-parameter] int Istrlen (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iload': internal.c:615:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iload (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Irun': internal.c:642:15: warning: unused parameter 'argc' [-Wunused-parameter] int Irun (int argc, lvar_t *argv) { ~~~~^~~~ In file included from internal.c:21: internal.c: In function 'Imonitor': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:668:33: note: in expansion of macro 'Tgetnumber' ms = Tgetstring (mo), ioi = Tgetnumber (io); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:668:33: note: in expansion of macro 'Tgetnumber' ms = Tgetstring (mo), ioi = Tgetnumber (io); ^~~~~~~~~~ internal.c:658:19: warning: unused parameter 'argc' [-Wunused-parameter] int Imonitor (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iidlerun': internal.c:680:19: warning: unused parameter 'argc' [-Wunused-parameter] int Iidlerun (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Itime': internal.c:700:16: warning: unused parameter 'argc' [-Wunused-parameter] int Itime (int argc, lvar_t *argv) { ~~~~^~~~ internal.c:700:30: warning: unused parameter 'argv' [-Wunused-parameter] int Itime (int argc, lvar_t *argv) { ~~~~~~~~^~~~ In file included from internal.c:21: internal.c: In function 'Isleep': tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:718:9: note: in expansion of macro 'Tgetnumber' f = Tgetnumber (argv[0].o); ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:718:9: note: in expansion of macro 'Tgetnumber' f = Tgetnumber (argv[0].o); ^~~~~~~~~~ internal.c:719:17: warning: conversion from 'float' to '__time_t' {aka 'long int'} may change value [-Wfloat-conversion] tz.tv_sec = f; ^ internal.c:720:21: warning: conversion from '__time_t' {aka 'long int'} to 'float' may change value [-Wconversion] tz.tv_usec = (f - tz.tv_sec) * 1000000; ^ internal.c:720:18: warning: conversion from 'float' to '__suseconds_t' {aka 'long int'} may change value [-Wfloat-conversion] tz.tv_usec = (f - tz.tv_sec) * 1000000; ^ internal.c:712:17: warning: unused parameter 'argc' [-Wunused-parameter] int Isleep (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iecho': internal.c:732:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (argv[i].o)) { ^~~~~~ internal.c: In function 'Igetenv': internal.c:743:18: warning: unused parameter 'argc' [-Wunused-parameter] int Igetenv (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iputenv': internal.c:755:18: warning: unused parameter 'argc' [-Wunused-parameter] int Iputenv (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'Iexit': internal.c:784:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iexit (int argc, lvar_t *argv) { ~~~~^~~~ internal.c:784:30: warning: unused parameter 'argv' [-Wunused-parameter] int Iexit (int argc, lvar_t *argv) { ~~~~~~~~^~~~ internal.c: In function 'Iparsegraphlabel': internal.c:792:27: warning: unused parameter 'argc' [-Wunused-parameter] int Iparsegraphlabel (int argc, lvar_t *argv) { ~~~~^~~~ In file included from internal.c:21: internal.c: In function 'Ireadgraph': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:800:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:800:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ internal.c: In function 'Iwritegraph': tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:817:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:817:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ internal.c:809:22: warning: unused parameter 'argc' [-Wunused-parameter] int Iwritegraph (int argc, lvar_t *argv) { ~~~~^~~~ internal.c: In function 'growbufp': internal.c:826:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bufp, ((newsize + BUFINCR - 1) / BUFINCR) * BUFINCR * BUFSIZE ^ internal.c: In function 'Isystem': internal.c:774:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system (bufp); ^~~~~~~~~~~~~ lefty.c:47:5: warning: "HAVE_FILE_CNT" is not defined, evaluates to 0 [-Wundef] #if HAVE_FILE_CNT ^~~~~~~~~~~~~ lefty.c:50:7: warning: "HAVE_FILE_NEXT" is not defined, evaluates to 0 [-Wundef] # if HAVE_FILE_NEXT ^~~~~~~~~~~~~~ CC lex.o lex.c: In function 'gtok': lex.c:178:33: warning: conversion from 'int' to 'char' may change value [-Wconversion] p = &Lstrtok[0], *p++ = c; ^ lex.c:180:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] *p++ = c; ^ lex.c:190:33: warning: conversion from 'int' to 'char' may change value [-Wconversion] p = &Lstrtok[0], *p++ = c; ^ lex.c:192:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] *p++ = c; ^ lex.c:194:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] *p++ = c; ^ lex.c:196:24: warning: conversion from 'int' to 'char' may change value [-Wconversion] *p++ = c; ^ lex.c:207:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] *p++ = c; /* FIXME: deal with \'s */ ^ lex.c:221:13: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ lex.c:229:13: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ CC mem.o CC parse.o mem.c: In function 'Mnew': mem.c:122:14: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] size < FREEOBJSIZE ^ In file included from mem.c:17: mem.h:44:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ mem.c:123:37: note: in expansion of macro 'M_BYTE2SIZE' ) ? M_BYTE2SIZE (FREEOBJSIZE) : M_BYTE2SIZE (size); ^~~~~~~~~~~ mem.c:133:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] fp->head.type = type; ^~~~ mem.c: In function 'Mallocate': mem.c:149:14: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] size < FREEOBJSIZE ^ In file included from mem.c:17: mem.h:44:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ mem.c:150:37: note: in expansion of macro 'M_BYTE2SIZE' ) ? M_BYTE2SIZE (FREEOBJSIZE) : M_BYTE2SIZE (size); ^~~~~~~~~~~ mem.c: In function 'Marrayalloc': mem.c:172:23: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] if (!(p = malloc (size))) ^~~~ mem.c: In function 'Marraygrow': mem.c:178:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] if (!(p = realloc (p, size))) ^~~~ mem.c: In function 'Mpushmark': mem.c:240:50: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] markarray, (long) (markn + MARKINCR) * MARKSIZE ^ mem.c:240:50: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] markarray, (long) (markn + MARKINCR) * MARKSIZE ^ mem.c: In function 'Mmkcurr': mem.c:267:67: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] otarray[0] = Marraygrow (otarray[0], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:267:67: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] otarray[0] = Marraygrow (otarray[0], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:268:67: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] otarray[1] = Marraygrow (otarray[1], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:268:67: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] otarray[1] = Marraygrow (otarray[1], (long) (otn +OTINCR) * OTSIZE); ^ mem.c: In function 'Mdogc': mem.c:316:17: warning: variable 't' set but not used [-Wunused-but-set-variable] int t = (gcsteps > GCINCRSTEPS) ? gcsteps >>= 1 : GCINCRSTEPS; ^ mem.c: In function 'allocbuffer': mem.c:379:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] freearray = Marraygrow (freearray, (long) (size + 1) * FREESIZE); ^ mem.c:379:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] freearray = Marraygrow (freearray, (long) (size + 1) * FREESIZE); ^ mem.c:388:39: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(bp->data = malloc (size * M_UNITSIZE * n))) ^ mem.c:388:52: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(bp->data = malloc (size * M_UNITSIZE * n))) ^ mem.c:391:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] bytes = size * M_UNITSIZE; ^ mem.c:391:17: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] bytes = size * M_UNITSIZE; ^~~~ CC str.o parse.c: In function 'pcons': parse.c:313:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ci = (d == (double) (long) d) ? Cinteger ((long) d) : Creal (d); ^~ parse.c: In function 'addlv': parse.c:639:54: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lvp = Marraygrow (lvp, (long) (lvn + LVINCR) + LVSIZE); ^ parse.c:639:54: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvp = Marraygrow (lvp, (long) (lvn + LVINCR) + LVSIZE); ^ CC tbl.o exec.c: In function 'Eunit': exec.c:165:18: warning: argument 'co' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Tobj Eunit (Tobj co) { ~~~~~^~ str.c: In function 'Sabstract': str.c:73:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (vo)) { ^~~~~~ str.c: In function 'Ssfull': str.c:100:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (vo)) { ^~~~~~ str.c: In function 'scalarstr': str.c:121:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (to)) { ^~~~~~ str.c: In function 'codestr': str.c:163:9: warning: switch missing default case [-Wswitch-default] switch (ct) { ^~~~~~ str.c: In function 'appends': str.c:441:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen (s) + 1; ^~~~~~ str.c: In function 'appendi': str.c:453:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen (buf) + 1; ^~~~~~ str.c: In function 'appendd': str.c:465:9: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] n = strlen (buf) + 1; ^~~~~~ str.c: In function 'growsbuf': str.c:487:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(sbufp = realloc (sbufp, nsize * SBUFSIZE))) ^ str.c: In function 'copysbuf': str.c:496:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(newsbufp = malloc (sbufi * sizeof (char)))) ^ CC txtview.o In file included from tbl.c:17: tbl.c: In function 'Tfreehelper': tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:122:39: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:122:39: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.c:123:40: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Mfree (tp->lp, M_BYTE2SIZE (tp->ln * T_KVLISTPTRSIZE)); ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c: In function 'Treal': tbl.c:137:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d == (double) (long) d) ^~ In file included from tbl.c:19: tbl.c: In function 'Tstring': tbl.h:49:28: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] #define T_STRINGSIZE(l) (l + Tstringoffset) ^ tbl.c:147:23: note: in expansion of macro 'T_STRINGSIZE' sp = Mnew ((long) T_STRINGSIZE (strlen (s)), T_STRING); ^~~~~~~~~~~~ tbl.c: In function 'Tcode': tbl.h:54:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_CODESIZE(l) (l * C_CODESIZE + Tcodeoffset) ^ tbl.c:158:26: note: in expansion of macro 'T_CODESIZE' codep = Mnew ((long) T_CODESIZE (cl), T_CODE); ^~~~~~~~~~ tbl.h:54:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_CODESIZE(l) (l * C_CODESIZE + Tcodeoffset) ^ tbl.c:158:26: note: in expansion of macro 'T_CODESIZE' codep = Mnew ((long) T_CODESIZE (cl), T_CODE); ^~~~~~~~~~ tbl.c:179:47: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cn = (long) (s - (char *) &cp[i]) / sizeof (Code_t); ^ tbl.c:179:18: warning: conversion to 'int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cn = (long) (s - (char *) &cp[i]) / sizeof (Code_t); ^ tbl.c: In function 'Ttable': tbl.c:202:38: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lp = Mallocate ((long) (sizehint * T_KVLISTPTRSIZE)); ^ tbl.c: In function 'Tcopy': tbl.c:343:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (fmvo)) { ^~~~~~ tbl.c: In function 'insert': tbl.c:35:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:402:35: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[(ind = GETIKINDEX (tp, ik))])) ^~~~~~~~~~ tbl.c:35:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:402:35: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[(ind = GETIKINDEX (tp, ik))])) ^~~~~~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~ tbl.c:404:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:409:35: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[(ind = GETRKINDEX (tp, rk))])) ^~~~~~~~~~ tbl.c:36:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:409:35: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[(ind = GETRKINDEX (tp, rk))])) ^~~~~~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~ tbl.c:411:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:417:35: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[(ind = GETSKINDEX (tp, sk))])) ^~~~~~~~~~ tbl.c:37:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:417:35: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[(ind = GETSKINDEX (tp, sk))])) ^~~~~~~~~~ tbl.c:399:5: warning: switch missing default case [-Wswitch-default] switch ((kt = M_TYPEOF (ko))) { ^~~~~~ tbl.c:35:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:426:31: note: in expansion of macro 'GETIKINDEX' case T_INTEGER: ind = GETIKINDEX (tp, ik); break; ^~~~~~~~~~ tbl.c:35:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:426:31: note: in expansion of macro 'GETIKINDEX' case T_INTEGER: ind = GETIKINDEX (tp, ik); break; ^~~~~~~~~~ tbl.c:36:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:427:31: note: in expansion of macro 'GETRKINDEX' case T_REAL: ind = GETRKINDEX (tp, rk); break; ^~~~~~~~~~ tbl.c:36:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:427:31: note: in expansion of macro 'GETRKINDEX' case T_REAL: ind = GETRKINDEX (tp, rk); break; ^~~~~~~~~~ tbl.c:37:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:428:31: note: in expansion of macro 'GETSKINDEX' case T_STRING: ind = GETSKINDEX (tp, sk); break; ^~~~~~~~~~ tbl.c:37:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:428:31: note: in expansion of macro 'GETSKINDEX' case T_STRING: ind = GETSKINDEX (tp, sk); break; ^~~~~~~~~~ tbl.c:425:9: warning: switch missing default case [-Wswitch-default] switch (kt) { ^~~~~~ In file included from tbl.c:19: tbl.h:64:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:433:48: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = kvlp = Mallocate ((long) T_KVLISTSIZE (1)); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:436:49: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:436:49: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ In file included from tbl.c:17: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:441:35: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))), kvlp = nkvlp; ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:441:35: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))), kvlp = nkvlp; ^~~~~~~~~~~~ tbl.c:444:9: warning: switch missing default case [-Wswitch-default] switch (kt) { ^~~~~~ tbl.c: In function 'find': tbl.c:35:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:470:28: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[GETIKINDEX (tp, ik)])) ^~~~~~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~ tbl.c:472:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:477:28: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[GETRKINDEX (tp, rk)])) ^~~~~~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~ tbl.c:479:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:485:28: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[GETSKINDEX (tp, sk)])) ^~~~~~~~~~ tbl.c:467:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (ko)) { ^~~~~~ tbl.c: In function 'delete': tbl.c:35:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:506:28: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[GETIKINDEX (tp, ik)])) ^~~~~~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~ tbl.c:508:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:513:28: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[GETRKINDEX (tp, rk)])) ^~~~~~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~ tbl.c:515:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:521:28: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[GETSKINDEX (tp, sk)])) ^~~~~~~~~~ tbl.c:503:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (ko)) { ^~~~~~ tbl.c: In function 'copytable': tbl.c:545:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lp = Mallocate ((long) (ln * T_KVLISTPTRSIZE)); ^ tbl.c:35:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:560:34: note: in expansion of macro 'GETIKINDEX' kvlp = lp[(ind = GETIKINDEX (tp, ik))]; ^~~~~~~~~~ tbl.c:35:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:560:34: note: in expansion of macro 'GETIKINDEX' kvlp = lp[(ind = GETIKINDEX (tp, ik))]; ^~~~~~~~~~ tbl.c:36:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:564:34: note: in expansion of macro 'GETRKINDEX' kvlp = lp[(ind = GETRKINDEX (tp, rk))]; ^~~~~~~~~~ tbl.c:36:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:564:34: note: in expansion of macro 'GETRKINDEX' kvlp = lp[(ind = GETRKINDEX (tp, rk))]; ^~~~~~~~~~ tbl.c:37:43: warning: conversion to 'long long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:568:34: note: in expansion of macro 'GETSKINDEX' kvlp = lp[(ind = GETSKINDEX (tp, sk))]; ^~~~~~~~~~ tbl.c:37:28: warning: conversion from 'long long unsigned int' to 'long int' may change value [-Wconversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:568:34: note: in expansion of macro 'GETSKINDEX' kvlp = lp[(ind = GETSKINDEX (tp, sk))]; ^~~~~~~~~~ tbl.c:557:13: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (kvp->ko)) { ^~~~~~ In file included from tbl.c:19: tbl.h:64:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:572:52: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = kvlp = Mallocate ((long) T_KVLISTSIZE (1)); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:575:53: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:575:53: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ In file included from tbl.c:17: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:580:43: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:580:43: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:585:36: note: in expansion of macro 'T_KVLISTSIZE' Mfree (okvlp, M_BYTE2SIZE (T_KVLISTSIZE (okvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:585:36: note: in expansion of macro 'T_KVLISTSIZE' Mfree (okvlp, M_BYTE2SIZE (T_KVLISTSIZE (okvlp->n))); ^~~~~~~~~~~~ tbl.c:587:34: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Mfree (olp, M_BYTE2SIZE (oln * T_KVLISTPTRSIZE)); ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c: In function 'reccopytable': tbl.c:594:44: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] totp->lp = Mallocate ((long) (fmtp->ln * T_KVLISTPTRSIZE)); ^ In file included from tbl.c:19: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:603:41: note: in expansion of macro 'T_KVLISTSIZE' totp->lp[i] = Mallocate ((long) T_KVLISTSIZE (fmtp->lp[i]->n)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:603:41: note: in expansion of macro 'T_KVLISTSIZE' totp->lp[i] = Mallocate ((long) T_KVLISTSIZE (fmtp->lp[i]->n)); ^~~~~~~~~~~~ tbl.c:614:13: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (fmkvp->vo)) { ^~~~~~ tbl.c: In function 'mapinsert': tbl.c:658:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp = &map.list[(uint64_t) fmo % MAPLISTN]; ^ tbl.c: In function 'mapfind': tbl.c:669:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp = &map.list[(uint64_t) fmo % MAPLISTN]; ^ txtview.c: In function 'TXTinit': txtview.c:100:12: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] txtx = r.o.x, txty = r.o.y; ^ txtview.c:100:26: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] txtx = r.o.x, txty = r.o.y; ^ txtview.c:101:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] txtwidth = r.c.x - r.o.x + 1, txtheight = r.c.y - r.o.y + 1; ^ txtview.c:101:47: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] txtwidth = r.c.x - r.o.x + 1, txtheight = r.c.y - r.o.y + 1; ^ txtview.c:139:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ txtview.c: In function 'TXTmode': txtview.c:166:18: warning: unused parameter 'argc' [-Wunused-parameter] int TXTmode (int argc, lvar_t *argv) { ~~~~^~~~ txtview.c: In function 'TXTprocess': txtview.c:308:22: warning: unused parameter 'wi' [-Wunused-parameter] void TXTprocess (int wi, char *sp) { ~~~~^~ txtview.c: In function 'TXTtoggle': txtview.c:327:21: warning: unused parameter 'wi' [-Wunused-parameter] void TXTtoggle (int wi, void *data) { ~~~~^~ txtview.c: In function 'update': txtview.c:350:13: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'buildlist': txtview.c:405:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] __max (pnode->u.f.t.n, 1) * sizeof (txtnode_t) ^ txtview.c:428:49: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (char *) pnode->u.f.t.list, pnode->u.f.t.n, sizeof (txtnode_t), cmp ~~~~~~~~~~~~^~ txtview.c: In function 'rebuildlist': txtview.c:446:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] __max (pnode->u.f.t.n, 1) * sizeof (txtnode_t) ^ txtview.c:468:52: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) pnode->u.f.t.list, pnode->u.f.t.n, sizeof (txtnode_t), cmp); ~~~~~~~~~~~~^~ txtview.c: In function 'fillnode': txtview.c:489:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buttondata[4].u.u = (uint64_t) cnode->vo; ^ txtview.c:497:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buttondata[4].u.u = (uint64_t) cnode->vo; ^ txtview.c:507:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buttondata[4].u.u = (uint64_t) cnode->vo; ^ txtview.c:515:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buttondata[4].u.u = (uint64_t) cnode->vo; ^ txtview.c:522:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] buttondata[4].u.u = (uint64_t) cnode->vo; ^ txtview.c:485:5: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'unfillnode': txtview.c:536:5: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'cmp': txtview.c:589:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (txtnode_t *) a, bnode = (txtnode_t *) b; ^ txtview.c:589:38: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (txtnode_t *) a, bnode = (txtnode_t *) b; ^ txtview.c: In function 'add2seen': txtview.c:618:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ txtview.c:618:62: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ txtview.c: In function 'orderfunc': txtview.c:631:9: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'coordsfunc': txtview.c:649:29: warning: unused parameter 'wi' [-Wunused-parameter] static void coordsfunc (int wi, Gawdata_t *dp) { ~~~~^~ txtview.c: In function 'coords2func': txtview.c:666:30: warning: unused parameter 'wi' [-Wunused-parameter] static void coords2func (int wi, Gawdata_t *dp) { ~~~~^~ CCLD lefty make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' Making all in lneato make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' cp ../../cmd/lneato/lneato.sh lneato chmod +x lneato make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' Making all in dotty make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' cp ../../cmd/dotty/dotty.sh dotty chmod +x dotty make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' Making all in smyrna make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' Making all in gvmap make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' CC gvmap-gvmap.o CC gvmap-make_map.o CC gvmap-power.o CC gvmap-country_graph_coloring.o CC cluster-cluster.o CC cluster-make_map.o power.c: In function 'power_method': power.c:67:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:67:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:68:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigs)) *eigs = MALLOC(sizeof(real)*K); ^ power.c:69:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = MALLOC(sizeof(real*)*K); ^ power.c:71:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vv = MALLOC(sizeof(real)*n); ^ power.c:72:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*n); ^ power.c:74:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(random_seed); ^~~~~~~~~~~ gvmap.c:99:5: warning: no previous prototype for 'string_split' [-Wmissing-prototypes] int string_split(char *s, char sp, char ***ss0, int *ntokens0){ ^~~~~~~~~~~~ gvmap.c: In function 'string_split': gvmap.c:111:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < strlen(s); i++){ ^ gvmap.c:120:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss = malloc(sizeof(char*)*(ntokens+1)); ^ gvmap.c:122:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < strlen(s); i++){ ^ gvmap.c:125:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss[ntokens] = malloc(sizeof(char)*(len+1)); ^ gvmap.c:132:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss[ntokens] = malloc(sizeof(char)*(len+1)); ^ power.c: In function 'matvec_sparse': power.c:138:33: warning: unused parameter 'm' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ~~~~^ power.c:138:40: warning: unused parameter 'n' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ~~~~^ power.c: In function 'matvec_dense': power.c:177:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*m); ^ power.c:185:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*n); ^ gvmap.c: In function 'init': gvmap.c:283:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":evODQko:m:s:r:p:c:C:l:b:g:t:a:h:z:d:")) != -1) { ^~~~~~ gvmap.c:283:76: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while ((c = getopt(argc, argv, ":evODQko:m:s:r:p:c:C:l:b:g:t:a:h:z:d:")) != -1) { ^~ gvmap.c:286:47: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sscanf(optarg,"%lf",&s) > 0) && (s != 0)){ ^~ gvmap.c:284:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvmap.c: In function 'makeMap': gvmap.c:508:9: warning: declaration of 'MAX_GRPS' shadows a global declaration [-Wshadow] enum {MAX_GRPS = 10000}; ^~~~~~~~ gvmap.c:40:7: note: shadowed declaration is here enum {MAX_GRPS = 10000}; ^~~~~~~~ country_graph_coloring.c: In function 'check_swap': country_graph_coloring.c:75:104: warning: unused parameter 'pq' [-Wunused-parameter] int u, int p_u, int v, int p_v, int *aband_local, int *p, int *p_inv, int aband, PriorityQueue pq, int *pmax, int *pmin, real lambda){ ~~~~~~~~~~~~~~^~ country_graph_coloring.c: At top level: country_graph_coloring.c:135:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_cheap' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_cheap(SparseMatrix A, int *p){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_cheap': country_graph_coloring.c:152:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p_inv = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:153:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmax = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:154:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmin = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:155:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] aband_local = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping': country_graph_coloring.c:249:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[i] = pj; ^~ country_graph_coloring.c:250:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[j] = pi; ^~ country_graph_coloring.c:261:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[i] = pi; ^~ country_graph_coloring.c:262:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[j] = pj; ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:277:6: warning: no previous prototype for 'country_graph_coloring_internal' [-Wmissing-prototypes] void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, real *norm_1, int do_swapping){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make_map.c: In function 'map_palette_optimal_coloring': make_map.c:83:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:84:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:85:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(n+1)); ^ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran': country_graph_coloring.c:367:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] Verbose = *verbose; ^ country_graph_coloring.c:352:65: warning: unused parameter 'nz' [-Wunused-parameter] void improve_antibandwidth_by_swapping_for_fortran(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *verbose){ ~~~~~^~ make_map.c: In function 'improve_contiguity': country_graph_coloring.c: At top level: make_map.c:120:120: warning: unused parameter 'label_sizes' [-Wunused-parameter] void improve_contiguity(int n, int dim, int *grouping, SparseMatrix poly_point_map, real *x, SparseMatrix graph, real *label_sizes){ country_graph_coloring.c:402:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_for_fortran_' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran_': make_map.c: In function 'normal': country_graph_coloring.c:402:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ make_map.c:220:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v[0] == 0){ ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:405:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN': country_graph_coloring.c:405:112: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:408:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_': country_graph_coloring.c:408:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ make_map.c: In function 'triangle_center': make_map.c:258:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (bot == 0){/* xy and yz are parallel */ ^~ make_map.c: At top level: make_map.c:280:6: warning: no previous prototype for 'plot_polys' [-Wmissing-prototypes] void plot_polys(int use_line, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~ make_map.c: In function 'plot_dot_edges': make_map.c:580:57: warning: unused parameter 'dim' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ~~~~^~~ make_map.c:580:68: warning: unused parameter 'x' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ make_map.c: At top level: make_map.c:615:6: warning: no previous prototype for 'plot_dot_labels' [-Wmissing-prototypes] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_labels': make_map.c:615:77: warning: unused parameter 'width' [-Wunused-parameter] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ make_map.c: In function 'dot_polygon': make_map.c:660:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:672:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] *len_max = *len_max + MAX(100, 0.2*(*len_max)) + ret; ^ make_map.c:673:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] *sbuff = REALLOC(*sbuff, *len_max); ^~~~~~~~ make_map.c:682:22: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:645:18: warning: unused parameter 'close' [-Wunused-parameter] int fill, int close, char *cstring){ ~~~~^~~~~ make_map.c: In function 'processing_polygon': make_map.c:699:102: warning: unused parameter 'close' [-Wunused-parameter] static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill, int close, ~~~~^~~~~ make_map.c: At top level: make_map.c:728:6: warning: no previous prototype for 'dot_one_poly' [-Wmissing-prototypes] void dot_one_poly(char **sbuff, int *len, int *len_max, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, char *cstring){ ^~~~~~~~~~~~ make_map.c:740:6: warning: no previous prototype for 'processing_one_poly' [-Wmissing-prototypes] void processing_one_poly(FILE *f, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, ^~~~~~~~~~~~~~~~~~~ make_map.c:754:6: warning: no previous prototype for 'plot_dot_polygons' [-Wmissing-prototypes] void plot_dot_polygons(char **sbuff, int *len, int *len_max, real line_width, char *line_color, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b, char *opacity){ ^~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_polygons': make_map.c:765:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:766:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:783:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:783:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c: At top level: make_map.c:798:6: warning: no previous prototype for 'plot_processing_polygons' [-Wmissing-prototypes] void plot_processing_polygons(FILE *f, real line_width, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_processing_polygons': make_map.c:809:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:810:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:827:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:827:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: make_map.c: In function 'plot_dot_map': ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:849:11: note: in expansion of macro 'N_NEW' sbuff = N_NEW(len_max,char); ^~~~~ make_map.c:843:68: warning: unused parameter 'plot_label' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ~~~~~~^~~~~~~~~~ make_map.c:843:86: warning: unused parameter 'bg_color' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: make_map.c: In function 'get_tri': ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:1010:8: note: in expansion of macro 'N_NEW' *T = N_NEW(ntri,struct Triangle); ^~~~~ make_map.c: At top level: make_map.c:1039:6: warning: no previous prototype for 'plot_labels' [-Wmissing-prototypes] void plot_labels(int n, int dim, real *x, char **labels){ ^~~~~~~~~~~ make_map.c:1057:6: warning: no previous prototype for 'plot_points' [-Wmissing-prototypes] void plot_points(int n, int dim, real *x){ ^~~~~~~~~~~ make_map.c:1088:6: warning: no previous prototype for 'plot_edges' [-Wmissing-prototypes] void plot_edges(int n, int dim, real *x, SparseMatrix A){ ^~~~~~~~~~ make_map.c: In function 'get_country_graph': make_map.c:1119:89: warning: unused parameter 'poly_point_map' [-Wunused-parameter] static SparseMatrix get_country_graph(int n, SparseMatrix A, int *groups, SparseMatrix *poly_point_map, int GRP_RANDOM, int GRP_BBOX){ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ make_map.c: In function 'get_poly_lines': make_map.c:1206:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] gmask = malloc(sizeof(int)*n); ^ make_map.c:1214:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1214:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1215:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tlist = MALLOC(sizeof(int)*nt*2); ^ make_map.c:1217:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *polys_groups = MALLOC(sizeof(int)*(ncomps)); ^ make_map.c: In function 'map_palette_optimal_coloring': make_map.c:83:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:84:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:85:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(n+1)); ^ make_map.c: In function 'get_polygon_solids': make_map.c:1439:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_table = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1472:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cycle = MALLOC(sizeof(int)*ne*2); ^ make_map.c: In function 'improve_contiguity': make_map.c:120:120: warning: unused parameter 'label_sizes' [-Wunused-parameter] void improve_contiguity(int n, int dim, int *grouping, SparseMatrix poly_point_map, real *x, SparseMatrix graph, real *label_sizes){ make_map.c:1476:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_cycle_map = MALLOC(sizeof(int)*ne); ^ make_map.c: In function 'normal': make_map.c:1477:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] emask = MALLOC(sizeof(int)*ne); ^ make_map.c:220:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v[0] == 0){ ^~ make_map.c:1484:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*3); ^ make_map.c: In function 'triangle_center': make_map.c:258:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (bot == 0){/* xy and yz are parallel */ ^~ make_map.c: At top level: make_map.c:280:6: warning: no previous prototype for 'plot_polys' [-Wmissing-prototypes] void plot_polys(int use_line, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~ make_map.c: In function 'plot_dot_edges': make_map.c:580:57: warning: unused parameter 'dim' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ~~~~^~~ make_map.c:580:68: warning: unused parameter 'x' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ make_map.c: At top level: make_map.c:615:6: warning: no previous prototype for 'plot_dot_labels' [-Wmissing-prototypes] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_labels': make_map.c:615:77: warning: unused parameter 'width' [-Wunused-parameter] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ make_map.c:1405:36: warning: unused parameter 'exclude_random' [-Wunused-parameter] static void get_polygon_solids(int exclude_random, int nt, SparseMatrix E, int ncomps, int *comps_ptr, int *comps, ~~~~^~~~~~~~~~~~~~ make_map.c:1406:16: warning: unused parameter 'groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ~~~~~^~~~~~ make_map.c:1406:76: warning: unused parameter 'polys_groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ~~~~~~^~~~~~~~~~~~ make_map.c:1407:15: warning: unused parameter 'GRP_RANDOM' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ~~~~^~~~~~~~~~ make_map.c: In function 'dot_polygon': make_map.c:660:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:1407:31: warning: unused parameter 'GRP_BBOX' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ~~~~^~~~~~~~ make_map.c: In function 'get_polygons': make_map.c:1684:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n + nrandom)); ^ make_map.c:672:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] *len_max = *len_max + MAX(100, 0.2*(*len_max)) + ret; ^ make_map.c:673:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] *sbuff = REALLOC(*sbuff, *len_max); ^~~~~~~~ make_map.c:1700:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*MAX(n + nrandom, 2*nt)); ^ make_map.c:1700:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] make_map.c:682:22: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:1725:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1725:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:645:18: warning: unused parameter 'close' [-Wunused-parameter] int fill, int close, char *cstring){ ~~~~^~~~~ make_map.c:1667:101: warning: unused parameter 'xcombined' [-Wunused-parameter] static void get_polygons(int exclude_random, int n, int nrandom, int dim, SparseMatrix graph, real *xcombined, int *grouping, make_map.c: At top level: make_map.c:1756:5: warning: no previous prototype for 'make_map_internal' [-Wmissing-prototypes] int make_map_internal(int exclude_random, int include_OK_points, ^~~~~~~~~~~~~~~~~ make_map.c: In function 'processing_polygon': make_map.c:699:102: warning: unused parameter 'close' [-Wunused-parameter] static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill, int close, ~~~~^~~~~ make_map.c: At top level: make_map.c:728:6: warning: no previous prototype for 'dot_one_poly' [-Wmissing-prototypes] void dot_one_poly(char **sbuff, int *len, int *len_max, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, char *cstring){ ^~~~~~~~~~~~ make_map.c:740:6: warning: no previous prototype for 'processing_one_poly' [-Wmissing-prototypes] void processing_one_poly(FILE *f, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, ^~~~~~~~~~~~~~~~~~~ make_map.c:754:6: warning: no previous prototype for 'plot_dot_polygons' [-Wmissing-prototypes] void plot_dot_polygons(char **sbuff, int *len, int *len_max, real line_width, char *line_color, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b, char *opacity){ ^~~~~~~~~~~~~~~~~ make_map.c: In function 'make_map_internal': make_map.c:1813:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz; ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1819:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*(dim*n + dim*nz*np)); ^ make_map.c: In function 'plot_dot_polygons': make_map.c:765:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:766:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:1821:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping = MALLOC(sizeof(int)*(n + nz*np)); ^ cluster.c: In function 'init': cluster.c:128:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":vC:c:o:")) != -1) { ^~~~~~ make_map.c:783:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ cluster.c:128:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while ((c = getopt(argc, argv, ":vC:c:o:")) != -1) { ^~ make_map.c:1860:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (bounding_box_margin[i] == 0) {/* auto bounding box */ ^~ make_map.c:783:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c: At top level: cluster.c:129:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make_map.c:1873:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm0 == 0) ^~ make_map.c:798:6: warning: no previous prototype for 'plot_processing_polygons' [-Wmissing-prototypes] void plot_processing_polygons(FILE *f, real line_width, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~~~~~~~~~~~~~~~ cluster.c: At top level: cluster.c:173:6: warning: no previous prototype for 'clusterGraph' [-Wmissing-prototypes] void clusterGraph (Agraph_t* g, int maxcluster, int clustering_method){ ^~~~~~~~~~~~ make_map.c: In function 'plot_processing_polygons': make_map.c:1879:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm1 == 0) ^~ make_map.c:809:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:810:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: ../../lib/sparse/general.h:46:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ make_map.c:1892:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1892:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1897:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping2 = MALLOC(sizeof(int)*(n + *nrandom)); ^ make_map.c:1898:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(grouping2, grouping, sizeof(int)*n); ^ make_map.c:827:16: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:827:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:1930:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*4*dim2); ^ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: make_map.c: In function 'plot_dot_map': ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:849:11: note: in expansion of macro 'N_NEW' sbuff = N_NEW(len_max,char); ^~~~~ make_map.c:1950:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1950:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1952:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:843:68: warning: unused parameter 'plot_label' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ~~~~~~^~~~~~~~~~ make_map.c:1952:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:843:86: warning: unused parameter 'bg_color' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ make_map.c:1970:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz, nh = 0;/* the set to highlight */ ^~ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: make_map.c: In function 'get_tri': make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ ../../lib/sparse/general.h:44:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:1010:8: note: in expansion of macro 'N_NEW' *T = N_NEW(ntri,struct Triangle); ^~~~~ make_map.c:1974:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c: At top level: make_map.c:1974:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1039:6: warning: no previous prototype for 'plot_labels' [-Wmissing-prototypes] void plot_labels(int n, int dim, real *x, char **labels){ ^~~~~~~~~~~ make_map.c:1999:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*xcombined, xtemp, n*dim*sizeof(real)); ^ make_map.c:1057:6: warning: no previous prototype for 'plot_points' [-Wmissing-prototypes] void plot_points(int n, int dim, real *x){ ^~~~~~~~~~~ make_map.c:1758:36: warning: unused parameter 'edge_bridge_tol' [-Wunused-parameter] real shore_depth_tol, real edge_bridge_tol, real **xcombined, int *nverts, real **x_poly, make_map.c:1088:6: warning: no previous prototype for 'plot_edges' [-Wmissing-prototypes] void plot_edges(int n, int dim, real *x, SparseMatrix A){ ^~~~~~~~~~ make_map.c: In function 'add_point': make_map.c:2111:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = REALLOC(*x, sizeof(real)*2*(*nmax)); ^ make_map.c:2112:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *groups = REALLOC(*groups, sizeof(int)*(*nmax)); ^ make_map.c: In function 'make_map_from_rectangle_groups': make_map.c:2217:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] K = (int) 10/(1+n/400.);/* 0 if n > 3600*/ ^ make_map.c: In function 'get_country_graph': make_map.c:1119:89: warning: unused parameter 'poly_point_map' [-Wunused-parameter] static SparseMatrix get_country_graph(int n, SparseMatrix A, int *groups, SparseMatrix *poly_point_map, int GRP_RANDOM, int GRP_BBOX){ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ make_map.c:2249:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2249:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2250:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n+nmax)); ^ make_map.c: In function 'get_poly_lines': make_map.c:1206:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] gmask = malloc(sizeof(int)*n); ^ make_map.c:2261:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (shore_depth_tol == 0){ ^~ make_map.c:1214:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:2286:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (avgsz == 0){ ^~ make_map.c:1214:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:2289:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] nadded[j] = (int) K*sizes[i*dim+j]/avgsz; ^ make_map.c:1215:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tlist = MALLOC(sizeof(int)*nt*2); ^ make_map.c:1217:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *polys_groups = MALLOC(sizeof(int)*(ncomps)); ^ make_map.c:2344:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph && edge_bridge_tol != 0){ ^~ make_map.c:2373:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] nadded[0] = (int) 2*KB*dist/avgdist; ^ make_map.c: In function 'get_polygon_solids': make_map.c:1439:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_table = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1472:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cycle = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1476:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_cycle_map = MALLOC(sizeof(int)*ne); ^ make_map.c:1477:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] emask = MALLOC(sizeof(int)*ne); ^ make_map.c:1484:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*3); ^ make_map.c:1405:36: warning: unused parameter 'exclude_random' [-Wunused-parameter] static void get_polygon_solids(int exclude_random, int nt, SparseMatrix E, int ncomps, int *comps_ptr, int *comps, ~~~~^~~~~~~~~~~~~~ make_map.c:1406:16: warning: unused parameter 'groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ~~~~~^~~~~~ make_map.c:1406:76: warning: unused parameter 'polys_groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ~~~~~~^~~~~~~~~~~~ make_map.c:1407:15: warning: unused parameter 'GRP_RANDOM' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ~~~~^~~~~~~~~~ make_map.c:1407:31: warning: unused parameter 'GRP_BBOX' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ~~~~^~~~~~~~ make_map.c: In function 'get_polygons': make_map.c:1684:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n + nrandom)); ^ make_map.c:1700:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*MAX(n + nrandom, 2*nt)); ^ make_map.c:1700:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] make_map.c:1725:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1725:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1667:101: warning: unused parameter 'xcombined' [-Wunused-parameter] static void get_polygons(int exclude_random, int n, int nrandom, int dim, SparseMatrix graph, real *xcombined, int *grouping, make_map.c: At top level: make_map.c:1756:5: warning: no previous prototype for 'make_map_internal' [-Wmissing-prototypes] int make_map_internal(int exclude_random, int include_OK_points, ^~~~~~~~~~~~~~~~~ make_map.c: In function 'make_map_internal': make_map.c:1813:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz; ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1819:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*(dim*n + dim*nz*np)); ^ make_map.c:1821:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping = MALLOC(sizeof(int)*(n + nz*np)); ^ make_map.c:1860:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (bounding_box_margin[i] == 0) {/* auto bounding box */ ^~ make_map.c:1873:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm0 == 0) ^~ make_map.c:1879:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm1 == 0) ^~ In file included from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: ../../lib/sparse/general.h:46:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ make_map.c:1892:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1892:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1897:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping2 = MALLOC(sizeof(int)*(n + *nrandom)); ^ make_map.c:1898:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(grouping2, grouping, sizeof(int)*n); ^ make_map.c:1930:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*4*dim2); ^ make_map.c:1950:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1950:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1952:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1952:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1970:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz, nh = 0;/* the set to highlight */ ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1974:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1974:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1999:38: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*xcombined, xtemp, n*dim*sizeof(real)); ^ make_map.c:1758:36: warning: unused parameter 'edge_bridge_tol' [-Wunused-parameter] real shore_depth_tol, real edge_bridge_tol, real **xcombined, int *nverts, real **x_poly, make_map.c: In function 'add_point': make_map.c:2111:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = REALLOC(*x, sizeof(real)*2*(*nmax)); ^ make_map.c:2112:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *groups = REALLOC(*groups, sizeof(int)*(*nmax)); ^ make_map.c: In function 'make_map_from_rectangle_groups': make_map.c:2217:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] K = (int) 10/(1+n/400.);/* 0 if n > 3600*/ ^ make_map.c:2249:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2249:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2250:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n+nmax)); ^ make_map.c:2261:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (shore_depth_tol == 0){ ^~ make_map.c:2286:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (avgsz == 0){ ^~ make_map.c:2289:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] nadded[j] = (int) K*sizes[i*dim+j]/avgsz; ^ make_map.c:2344:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph && edge_bridge_tol != 0){ ^~ make_map.c:2373:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] nadded[0] = (int) 2*KB*dist/avgdist; ^ CC cluster-power.o CC cluster-country_graph_coloring.o power.c: In function 'power_method': power.c:67:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:67:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:68:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigs)) *eigs = MALLOC(sizeof(real)*K); ^ power.c:69:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = MALLOC(sizeof(real*)*K); ^ power.c:71:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vv = MALLOC(sizeof(real)*n); ^ power.c:72:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*n); ^ power.c:74:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(random_seed); ^~~~~~~~~~~ power.c: In function 'matvec_sparse': power.c:138:33: warning: unused parameter 'm' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ~~~~^ power.c:138:40: warning: unused parameter 'n' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ~~~~^ power.c: In function 'matvec_dense': power.c:177:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*m); ^ power.c:185:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*n); ^ country_graph_coloring.c: In function 'check_swap': country_graph_coloring.c:75:104: warning: unused parameter 'pq' [-Wunused-parameter] int u, int p_u, int v, int p_v, int *aband_local, int *p, int *p_inv, int aband, PriorityQueue pq, int *pmax, int *pmin, real lambda){ ~~~~~~~~~~~~~~^~ country_graph_coloring.c: At top level: country_graph_coloring.c:135:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_cheap' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_cheap(SparseMatrix A, int *p){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_cheap': country_graph_coloring.c:152:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p_inv = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:153:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmax = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:154:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmin = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:155:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] aband_local = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping': country_graph_coloring.c:249:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[i] = pj; ^~ country_graph_coloring.c:250:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[j] = pi; ^~ country_graph_coloring.c:261:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[i] = pi; ^~ country_graph_coloring.c:262:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] (p)[j] = pj; ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:277:6: warning: no previous prototype for 'country_graph_coloring_internal' [-Wmissing-prototypes] void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, real *norm_1, int do_swapping){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran': country_graph_coloring.c:367:13: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] Verbose = *verbose; ^ country_graph_coloring.c:352:65: warning: unused parameter 'nz' [-Wunused-parameter] void improve_antibandwidth_by_swapping_for_fortran(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *verbose){ ~~~~~^~ country_graph_coloring.c: At top level: country_graph_coloring.c:402:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_for_fortran_' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran_': country_graph_coloring.c:402:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:405:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN': country_graph_coloring.c:405:112: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:408:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_': country_graph_coloring.c:408:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ~~~~~^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ make_map.c: In function 'dot_polygon.isra.4.part.5': make_map.c:662:9: warning: '%s' directive writing up to 9999 bytes into a region of size between 9984 and 9993 [-Wformat-overflow=] ret += sprintf(buf, " c %d -%s %s L %d ",(int) strlen(cstring), cstring, swidth, np); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../../lib/sparse/general.h:18, from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 13 or more bytes (assuming 10021) into a destination of size 10000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make_map.c: In function 'dot_polygon.isra.4.part.5': make_map.c:662:9: warning: '%s' directive writing up to 9999 bytes into a region of size between 9984 and 9993 [-Wformat-overflow=] ret += sprintf(buf, " c %d -%s %s L %d ",(int) strlen(cstring), cstring, swidth, np); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../../lib/sparse/general.h:18, from ../../lib/sparse/SparseMatrix.h:16, from make_map.c:15: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 13 or more bytes (assuming 10021) into a destination of size 10000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD gvmap CCLD cluster make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' Making all in gvedit make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' Making all in ui make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' Making all in images make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' Making all in mingle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' Making all in edgepaint make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' CC edgepaint-edgepaintmain.o edgepaintmain.c: In function 'init': edgepaintmain.c:117:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":vc:a:s:r:l:o")) != -1) { ^~~~~~ edgepaintmain.c:117:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while ((c = getopt(argc, argv, ":vc:a:s:r:l:o")) != -1) { ^~ edgepaintmain.c: In function 'clarify': edgepaintmain.c:202:66: warning: unused parameter 'infile' [-Wunused-parameter] static int clarify(Agraph_t* g, real angle, real accuracy, char *infile, int check_edges_with_same_endpoint, int seed, char *color_scheme, char *lightness){ ~~~~~~^~~~~~ CCLD edgepaint make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' Making all in tclpkg make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' Making all in tclstubs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' CC tclStubLib.lo tclStubLib.c:18:6: warning: no previous prototype for 'tclstubs_dummy' [-Wmissing-prototypes] void tclstubs_dummy(void) ^~~~~~~~~~~~~~ CCLD libtclstubs_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' Making all in tclhandle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' CC tclhandle.lo tclhandle.c: In function 'tclhandleExpandTable': tclhandle.c:109:44: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] tblHdrPtr->bodyPtr = (ubyte_pt) malloc(newSize); ^~~~~~~ tclhandle.c:111:27: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (tblHdrPtr->tableSize * tblHdrPtr->entrySize)); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tclhandle.c: In function 'tclhandleAlloc': tclhandle.c:149:17: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] *entryIdxPtr = entryIdx; ^~~~~~~~ In file included from tclhandle.c:43: tclhandle.h:36:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:150:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:36:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:150:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:37:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tclhandleEntryAlignment) * tclhandleEntryAlignment) ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:150:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.c: In function 'tclhandleInit': tclhandle.c:175:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sizeof(uint64_t) > tclhandleEntryAlignment) ^ tclhandle.c:177:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sizeof(double) > tclhandleEntryAlignment) ^ In file included from tclhandle.c:43: tclhandle.h:36:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.c:189:28: note: in expansion of macro 'ENTRY_HEADER_SIZE' tblHdrPtr->entrySize = ENTRY_HEADER_SIZE + ROUND_ENTRY_SIZE(entrySize); ^~~~~~~~~~~~~~~~~ tclhandle.h:36:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.c:189:28: note: in expansion of macro 'ENTRY_HEADER_SIZE' tblHdrPtr->entrySize = ENTRY_HEADER_SIZE + ROUND_ENTRY_SIZE(entrySize); ^~~~~~~~~~~~~~~~~ tclhandle.h:37:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tclhandleEntryAlignment) * tclhandleEntryAlignment) ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.c:189:28: note: in expansion of macro 'ENTRY_HEADER_SIZE' tblHdrPtr->entrySize = ENTRY_HEADER_SIZE + ROUND_ENTRY_SIZE(entrySize); ^~~~~~~~~~~~~~~~~ tclhandle.c:189:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tblHdrPtr->entrySize = ENTRY_HEADER_SIZE + ROUND_ENTRY_SIZE(entrySize); ^ In file included from tclhandle.c:43: tclhandle.h:69:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^ tclhandle.c:189:28: note: in expansion of macro 'ENTRY_HEADER_SIZE' tblHdrPtr->entrySize = ENTRY_HEADER_SIZE + ROUND_ENTRY_SIZE(entrySize); ^~~~~~~~~~~~~~~~~ tclhandle.c:196:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (ubyte_pt) malloc(initEntries * tblHdrPtr->entrySize); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ tclhandle.c: In function 'tclhandleReset': tclhandle.c:258:32: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] (ubyte_pt) malloc(initEntries * tblHdrPtr->entrySize); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from tclhandle.c:43: tclhandle.c: In function 'tclhandleXlateIndex': tclhandle.h:75:61: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ((entryHeader_pt) (hdrPtr->bodyPtr + (hdrPtr->entrySize * idx))) ^ tclhandle.c:323:16: note: in expansion of macro 'TBL_INDEX' entryPtr = TBL_INDEX(tblHdrPtr, entryIdx); ^~~~~~~~~ tclhandle.c:325:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if ((entryIdx >= tblHdrPtr->tableSize) || ^~ In file included from tclhandle.c:43: tclhandle.h:36:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:330:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:36:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:330:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:37:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tclhandleEntryAlignment) * tclhandleEntryAlignment) ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:330:12: note: in expansion of macro 'USER_AREA' return USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.c: In function 'tclhandleFreeIndex': tclhandle.h:75:61: warning: conversion to 'uint64_t' {aka 'long long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] ((entryHeader_pt) (hdrPtr->bodyPtr + (hdrPtr->entrySize * idx))) ^ tclhandle.c:370:16: note: in expansion of macro 'TBL_INDEX' entryPtr = TBL_INDEX(tblHdrPtr, entryIdx); ^~~~~~~~~ tclhandle.c:372:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] if ((entryIdx >= tblHdrPtr->tableSize) || ^~ In file included from tclhandle.c:43: tclhandle.h:36:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:377:16: note: in expansion of macro 'USER_AREA' entryPtr = USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:36:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:377:16: note: in expansion of macro 'USER_AREA' entryPtr = USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:37:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tclhandleEntryAlignment) * tclhandleEntryAlignment) ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:89:36: note: in expansion of macro 'ENTRY_HEADER_SIZE' (void *) (((ubyte_pt) entryPtr) + ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:377:16: note: in expansion of macro 'USER_AREA' entryPtr = USER_AREA(entryPtr); ^~~~~~~~~ tclhandle.h:36:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:91:44: note: in expansion of macro 'ENTRY_HEADER_SIZE' (entryHeader_pt) (((ubyte_pt) entryPtr) - ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:378:20: note: in expansion of macro 'HEADER_AREA' freeentryPtr = HEADER_AREA(entryPtr); ^~~~~~~~~~~ tclhandle.h:36:73: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND_ENTRY_SIZE(size) ((((size) + tclhandleEntryAlignment - 1) / \ ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:91:44: note: in expansion of macro 'ENTRY_HEADER_SIZE' (entryHeader_pt) (((ubyte_pt) entryPtr) - ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:378:20: note: in expansion of macro 'HEADER_AREA' freeentryPtr = HEADER_AREA(entryPtr); ^~~~~~~~~~~ tclhandle.h:37:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tclhandleEntryAlignment) * tclhandleEntryAlignment) ^ tclhandle.h:69:28: note: in expansion of macro 'ROUND_ENTRY_SIZE' #define ENTRY_HEADER_SIZE (ROUND_ENTRY_SIZE (sizeof (entryHeader_t))) ^~~~~~~~~~~~~~~~ tclhandle.h:91:44: note: in expansion of macro 'ENTRY_HEADER_SIZE' (entryHeader_pt) (((ubyte_pt) entryPtr) - ENTRY_HEADER_SIZE); ^~~~~~~~~~~~~~~~~ tclhandle.c:378:20: note: in expansion of macro 'HEADER_AREA' freeentryPtr = HEADER_AREA(entryPtr); ^~~~~~~~~~~ CCLD libtclhandle_C.la make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' Making all in gdtclft make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' Making all in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' CC gdtclft.lo gdtclft.c:347:1: warning: no previous prototype for 'gdCmd' [-Wmissing-prototypes] gdCmd(ClientData clientData, Tcl_Interp * interp, ^~~~~ gdtclft.c: In function 'tclGdDestroyCmd': gdtclft.c:516:30: warning: unused parameter 'interp' [-Wunused-parameter] tclGdDestroyCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~~~~~~~~~~^~~~~~ gdtclft.c:516:42: warning: unused parameter 'argc' [-Wunused-parameter] tclGdDestroyCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdColorNewCmd': gdtclft.c:720:58: warning: unused parameter 'argc' [-Wunused-parameter] tclGdColorNewCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~^~~~ gdtclft.c: In function 'tclGdColorExactCmd': gdtclft.c:730:60: warning: unused parameter 'argc' [-Wunused-parameter] tclGdColorExactCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~^~~~ gdtclft.c: In function 'tclGdColorClosestCmd': gdtclft.c:740:62: warning: unused parameter 'argc' [-Wunused-parameter] tclGdColorClosestCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~^~~~ gdtclft.c: In function 'tclGdColorResolveCmd': gdtclft.c:750:62: warning: unused parameter 'argc' [-Wunused-parameter] tclGdColorResolveCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~^~~~ gdtclft.c: In function 'tclGdColorFreeCmd': gdtclft.c:760:32: warning: unused parameter 'interp' [-Wunused-parameter] tclGdColorFreeCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~~~~~~~~~~^~~~~~ gdtclft.c:760:59: warning: unused parameter 'argc' [-Wunused-parameter] tclGdColorFreeCmd(Tcl_Interp * interp, gdImagePtr im, int argc, const int args[]) ~~~~^~~~ gdtclft.c: In function 'tclGdBrushCmd': gdtclft.c:819:28: warning: unused parameter 'interp' [-Wunused-parameter] tclGdBrushCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~~~~~~~~~~^~~~~~ gdtclft.c:819:40: warning: unused parameter 'argc' [-Wunused-parameter] tclGdBrushCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdTileCmd': gdtclft.c:834:27: warning: unused parameter 'interp' [-Wunused-parameter] tclGdTileCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~~~~~~~~~~^~~~~~ gdtclft.c:834:39: warning: unused parameter 'argc' [-Wunused-parameter] tclGdTileCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdStyleCmd': gdtclft.c:854:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Tcl_Obj **colorObjv = (Tcl_Obj **) (&objv[3]); /* By default, colors are listed in objv. */ ^ gdtclft.c:868:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] colors = (int *) Tcl_Alloc(ncolor * sizeof(int)); ^ gdtclft.c: In function 'tclGdSetCmd': gdtclft.c:894:38: warning: unused parameter 'argc' [-Wunused-parameter] tclGdSetCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdLineCmd': gdtclft.c:917:39: warning: unused parameter 'argc' [-Wunused-parameter] tclGdLineCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdRectCmd': gdtclft.c:944:39: warning: unused parameter 'argc' [-Wunused-parameter] tclGdRectCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdArcCmd': gdtclft.c:976:38: warning: unused parameter 'argc' [-Wunused-parameter] tclGdArcCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdPolygonCmd': gdtclft.c:1033:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Tcl_Obj **pointObjv = (Tcl_Obj **) (&objv[4]); ^ gdtclft.c:1069:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] points = (gdPointPtr) Tcl_Alloc(npoints * sizeof(gdPoint)); ^ gdtclft.c: In function 'tclGdGetCmd': gdtclft.c:1171:38: warning: unused parameter 'argc' [-Wunused-parameter] tclGdGetCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'tclGdSizeCmd': gdtclft.c:1192:39: warning: unused parameter 'argc' [-Wunused-parameter] tclGdSizeCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ gdtclft.c: In function 'BufferSinkFunc': gdtclft.c:1354:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p->buf = Tcl_Alloc(len + 1); ~~~~^~~ gdtclft.c:1355:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(p->buf, buffer, len); ^~~ gdtclft.c:1359:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p->buf = Tcl_Realloc(p->buf, len + p->buflen + 1); ~~~~~~~~~~~~~~~~^~~ gdtclft.c:1361:26: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memmove(bufend, buffer, len); ^~~ gdtclft.c: In function 'tclGdWriteBufCmd': gdtclft.c:1369:43: warning: unused parameter 'argc' [-Wunused-parameter] tclGdWriteBufCmd(Tcl_Interp * interp, int argc, Tcl_Obj * CONST objv[]) ~~~~^~~~ CCLD libgdtclft.la CCLD libgdtclft_C.la sh ../../tclpkg/mkpkgindex.sh libgdtclft.la Gdtclft 2.44.0 make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' Making all in tcldot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' Making all in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' CC libtcldot_la-tcldot.lo CC libtcldot_la-tcldot-graphcmd.lo CC libtcldot_la-tcldot-nodecmd.lo CC libtcldot_la-tcldot-edgecmd.lo CC libtcldot_la-tcldot-id.lo CC libtcldot_la-tcldot-util.lo tcldot.c: In function 'dotstring': tcldot.c:137:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] rdr.len = strlen(rdr.data); ^~~~~~ tcldot.c: At top level: tcldot.c:160:5: warning: no previous prototype for 'Tcldot_Init' [-Wmissing-prototypes] int Tcldot_Init(Tcl_Interp * interp) ^~~~~~~~~~~ tcldot.c:220:5: warning: no previous prototype for 'Tcldot_SafeInit' [-Wmissing-prototypes] int Tcldot_SafeInit(Tcl_Interp * interp) ^~~~~~~~~~~~~~~ tcldot.c:225:5: warning: no previous prototype for 'Tcldot_builtin_Init' [-Wmissing-prototypes] int Tcldot_builtin_Init(Tcl_Interp * interp) ^~~~~~~~~~~~~~~~~~~ tcldot-id.c: In function 'myiddisc_map': tcldot-id.c:37:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *id = (uint64_t) s; ^ tcldot-id.c:27:43: warning: unused parameter 'objtype' [-Wunused-parameter] static long myiddisc_map(void *state, int objtype, char *str, uint64_t *id, int createflag) { ~~~~^~~~~~~ tcldot-id.c: In function 'myiddisc_free': tcldot-id.c:68:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] agstrfree(gctx->g, (char *) id); ^ tcldot-id.c:52:44: warning: unused parameter 'objtype' [-Wunused-parameter] static void myiddisc_free(void *state, int objtype, uint64_t id) { ~~~~^~~~~~~ tcldot-id.c: In function 'myiddisc_print': tcldot-id.c:74:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (char *) id; ^ tcldot-id.c: In function 'myiddisc_idregister': tcldot-id.c:87:5: warning: switch missing default case [-Wswitch-default] switch (objtype) { ^~~~~~ tcldot-edgecmd.c: In function 'edgecmd': tcldot-edgecmd.c:43:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] length = strlen(argv[1]); ^~~~~~ tcldot-util.c: In function 'Tcldot_channel_writer': tcldot-util.c:25:58: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~ tcldot-util.c:25:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~~~~~~~ tcldot-util.c: In function 'obj2cmd': tcldot-util.c:58:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ tcldot-util.c: In function 'deleteEdge': tcldot-util.c:68:42: warning: unused parameter 'g' [-Wunused-parameter] void deleteEdge(gctx_t *gctx, Agraph_t * g, Agedge_t *e) ~~~~~~~~~~~^ tcldot-util.c: In function 'deleteNode': tcldot-util.c:87:42: warning: unused parameter 'g' [-Wunused-parameter] void deleteNode(gctx_t * gctx, Agraph_t *g, Agnode_t *n) ~~~~~~~~~~^ tcldot-util.c: In function 'myagxset': tcldot-util.c:133:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(val); ^~~~~~ CC libtcldot_la-tcldot-io.lo CC libtcldot_la-no_builtins.lo CC libtcldot_builtin_la-tcldot.lo CC libtcldot_builtin_la-tcldot-graphcmd.lo CC libtcldot_builtin_la-tcldot-nodecmd.lo CC libtcldot_builtin_la-tcldot-edgecmd.lo tcldot-io.c: In function 'myiodisc_afread': tcldot-io.c:50:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, (strpos + Tcl_DStringValue(&dstr)), n); ^ tcldot-io.c:56:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, (strpos + Tcl_DStringValue(&dstr)), nput); ^~~~ tcldot-io.c:73:44: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, Tcl_DStringValue(&dstr), n); ^ tcldot-io.c:78:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, Tcl_DStringValue(&dstr),nput); ^~~~ tcldot.c: In function 'dotstring': tcldot.c:137:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] rdr.len = strlen(rdr.data); ^~~~~~ tcldot.c: At top level: tcldot.c:160:5: warning: no previous prototype for 'Tcldot_Init' [-Wmissing-prototypes] int Tcldot_Init(Tcl_Interp * interp) ^~~~~~~~~~~ tcldot.c:220:5: warning: no previous prototype for 'Tcldot_SafeInit' [-Wmissing-prototypes] int Tcldot_SafeInit(Tcl_Interp * interp) ^~~~~~~~~~~~~~~ tcldot.c:225:5: warning: no previous prototype for 'Tcldot_builtin_Init' [-Wmissing-prototypes] int Tcldot_builtin_Init(Tcl_Interp * interp) ^~~~~~~~~~~~~~~~~~~ CC libtcldot_builtin_la-tcldot-util.lo CC libtcldot_builtin_la-tcldot-id.lo CC libtcldot_builtin_la-tcldot-io.lo tcldot-edgecmd.c: In function 'edgecmd': tcldot-edgecmd.c:43:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] length = strlen(argv[1]); ^~~~~~ CC libtcldot_builtin_la-tcldot_builtins.lo tcldot-util.c: In function 'Tcldot_channel_writer': tcldot-util.c:25:58: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~ tcldot-util.c:25:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~~~~~~~ tcldot-util.c: In function 'obj2cmd': tcldot-util.c:58:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ tcldot-util.c: In function 'deleteEdge': tcldot-util.c:68:42: warning: unused parameter 'g' [-Wunused-parameter] void deleteEdge(gctx_t *gctx, Agraph_t * g, Agedge_t *e) ~~~~~~~~~~~^ tcldot-util.c: In function 'deleteNode': tcldot-util.c:87:42: warning: unused parameter 'g' [-Wunused-parameter] void deleteNode(gctx_t * gctx, Agraph_t *g, Agnode_t *n) ~~~~~~~~~~^ tcldot-util.c: In function 'myagxset': tcldot-util.c:133:15: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] len = strlen(val); ^~~~~~ tcldot-io.c: In function 'myiodisc_afread': tcldot-io.c:50:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, (strpos + Tcl_DStringValue(&dstr)), n); ^ tcldot-io.c:56:55: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, (strpos + Tcl_DStringValue(&dstr)), nput); ^~~~ tcldot-io.c:73:44: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, Tcl_DStringValue(&dstr), n); ^ tcldot-io.c:78:43: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ubuf, Tcl_DStringValue(&dstr),nput); ^~~~ tcldot-id.c: In function 'myiddisc_map': tcldot-id.c:37:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *id = (uint64_t) s; ^ tcldot-id.c:27:43: warning: unused parameter 'objtype' [-Wunused-parameter] static long myiddisc_map(void *state, int objtype, char *str, uint64_t *id, int createflag) { ~~~~^~~~~~~ tcldot-id.c: In function 'myiddisc_free': tcldot-id.c:68:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] agstrfree(gctx->g, (char *) id); ^ tcldot-id.c:52:44: warning: unused parameter 'objtype' [-Wunused-parameter] static void myiddisc_free(void *state, int objtype, uint64_t id) { ~~~~^~~~~~~ tcldot-id.c: In function 'myiddisc_print': tcldot-id.c:74:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (char *) id; ^ tcldot-id.c: In function 'myiddisc_idregister': tcldot-id.c:87:5: warning: switch missing default case [-Wswitch-default] switch (objtype) { ^~~~~~ CCLD libtcldot.la CCLD libtcldot_builtin.la sh ../../tclpkg/mkpkgindex.sh libtcldot.la Tcldot 2.44.0 make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' Making all in tclpathplan make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' Making all in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' Making all in pathplan_data make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' CC find_ints.lo CC makecw.lo CC intersect.lo CC wrapper.lo CC tclpathplan.lo intersect.c: In function 'sgnarea': intersect.c:33:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[0] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ intersect.c:35:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[1] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ intersect.c: In function 'between': intersect.c:42:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ intersect.c:42:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ intersect.c: In function 'online': intersect.c:54:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ intersect.c:54:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ intersect.c: In function 'intpoint': intersect.c:77:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ls.x == le.x) { ^~ intersect.c:80:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (ms.x == me.x) { ^~ intersect.c:117: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)) { ^~ intersect.c:74:5: warning: switch missing default case [-Wswitch-default] switch (cond) { ^~~~~~ intersect.c: At top level: intersect.c:129:6: warning: no previous prototype for 'find_intersection' [-Wmissing-prototypes] void find_intersection(struct vertex *l, ^~~~~~~~~~~~~~~~~ makecw.c:25:6: warning: no previous prototype for 'make_CW' [-Wmissing-prototypes] void make_CW(Ppoly_t * poly) ^~~~~~~ find_ints.c:22:6: warning: no previous prototype for 'find_ints' [-Wmissing-prototypes] void find_ints(struct vertex vertex_list[], ^~~~~~~~~ find_ints.c: In function 'find_ints': find_ints.c:38:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] malloc((input->nvertices) * sizeof(struct vertex *)); ^ find_ints.c:44:25: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] qsort(pvertex, input->nvertices, sizeof(struct vertex *), ~~~~~^~~~~~~~~~~ find_ints.c:52:6: warning: switch missing default case [-Wswitch-default] switch (gt(&pt1, &pt2)) { ^~~~~~ find_ints.c:23:17: warning: unused parameter 'polygon_list' [-Wunused-parameter] struct polygon polygon_list[], ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ find_ints.c: In function 'gt': find_ints.c:116:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.x - (*j)->pos.x) != 0.) ^~ find_ints.c:118:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.y - (*j)->pos.y) == 0.) ^~ wrapper.c:94:5: warning: no previous prototype for 'Plegal_arrangement' [-Wmissing-prototypes] int Plegal_arrangement(Ppoly_t ** polys, int n_polys) ^~~~~~~~~~~~~~~~~~ wrapper.c: In function 'Plegal_arrangement': wrapper.c:105:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] malloc(n_polys * sizeof(struct polygon)); ^ wrapper.c:111:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] malloc(nverts * sizeof(struct vertex)); ^ wrapper.c:116:31: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] vertex_list[vno].pos.x = polys[i]->ps[j].x; ^~~~~ wrapper.c:117:31: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] vertex_list[vno].pos.y = polys[i]->ps[j].y; ^~~~~ wrapper.c:133:6: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ wrapper.c:97:9: note: shadowed declaration is here int i, j, vno, nverts, rv; ^ wrapper.c:140:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ wrapper.c:140:39: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ wrapper.c:141:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vft.x == avft.x) && ^~ wrapper.c:130:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:142:5: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, ilist[i]) && ^~~~~ wrapper.c:130:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:142:5: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, ilist[i]) && ^~~~~ wrapper.c:130:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:143:5: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, ilist[i])) || ^~~~~ wrapper.c:130:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:143:5: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, ilist[i])) || ^~~~~ wrapper.c:144:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vsd.x == avsd.x) && ^~ wrapper.c:130:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:145:5: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, ilist[i]) && !EQ_PT(avsd, ilist[i]))) { ^~~~~ wrapper.c:130:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:145:5: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, ilist[i]) && !EQ_PT(avsd, ilist[i]))) { ^~~~~ wrapper.c:130:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:145:30: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, ilist[i]) && !EQ_PT(avsd, ilist[i]))) { ^~~~~ wrapper.c:130:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^~ wrapper.c:145:30: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, ilist[i]) && !EQ_PT(avsd, ilist[i]))) { ^~~~~ tclpathplan.c: In function 'allocpoly': tclpathplan.c:89:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vgp->poly = realloc(vgp->poly, vgp->N_poly_alloc * sizeof(poly)); ^ tclpathplan.c:94:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->boundary.ps = malloc(npts * sizeof(point)); ^ tclpathplan.c: In function 'vc_refresh': tclpathplan.c:112:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] obs = malloc(vgp->Npoly * sizeof(Ppoly_t)); ^ tclpathplan.c: In function 'expandPercentsEval': tclpathplan.c:174:37: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] Tcl_DStringAppend(&scripts, r, strlen(r)); /* vgcanvasHandle */ ^~~~~~~~~ tclpathplan.c: At top level: tclpathplan.c:191:6: warning: no previous prototype for 'triangle_callback' [-Wmissing-prototypes] void triangle_callback(void *vgparg, point pqr[]) ^~~~~~~~~~~~~~~~~ tclpathplan.c: In function 'triangle_callback': tclpathplan.c:201:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=] sprintf(vbuf, "vgpane%lu", ~~^ %llu (uint64_t) (((ubyte_pt) vgp - (vgpaneTable->bodyPtr)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ / (vgpaneTable->entrySize))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclpathplan.c: In function 'remove_poly': tclpathplan.c:318:44: warning: declaration of 'polyid' shadows a global declaration [-Wshadow] static int remove_poly(vgpane_t * vgp, int polyid) ~~~~^~~~~~ tclpathplan.c:82:12: note: shadowed declaration is here static int polyid = 0; /* unique and unchanging id for each poly */ ^~~~~~ tclpathplan.c: In function 'insert_poly': tclpathplan.c:337:54: warning: declaration of 'polyid' shadows a global declaration [-Wshadow] insert_poly(Tcl_Interp * interp, vgpane_t * vgp, int polyid, char *vargv[], ~~~~^~~~~~ tclpathplan.c:82:12: note: shadowed declaration is here static int polyid = 0; /* unique and unchanging id for each poly */ ^~~~~~ tclpathplan.c: In function 'make_barriers': tclpathplan.c:372:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bar = malloc(n * sizeof(Pedge_t)); ^ tclpathplan.c: In function 'vgpanecmd': tclpathplan.c:728:11: warning: declaration of 'pp' shadows a previous local [-Wshadow] Ppoly_t pp = vgp->poly[i].boundary; ^~ tclpathplan.c:417:9: note: shadowed declaration is here int pp, qp; /* polygon indices for p, q */ ^~ tclpathplan.c:406:22: warning: unused parameter 'clientData' [-Wunused-parameter] vgpanecmd(ClientData clientData, Tcl_Interp * interp, int argc, ~~~~~~~~~~~^~~~~~~~~~ tclpathplan.c: In function 'vgpane': tclpathplan.c:898:42: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vgp->poly = malloc(vgp->N_poly_alloc * sizeof(poly)); ^ tclpathplan.c:887:19: warning: unused parameter 'clientData' [-Wunused-parameter] vgpane(ClientData clientData, Tcl_Interp * interp, int argc, char *argv[]) ~~~~~~~~~~~^~~~~~~~~~ tclpathplan.c:887:56: warning: unused parameter 'argc' [-Wunused-parameter] vgpane(ClientData clientData, Tcl_Interp * interp, int argc, char *argv[]) ~~~~^~~~ tclpathplan.c:887:68: warning: unused parameter 'argv' [-Wunused-parameter] vgpane(ClientData clientData, Tcl_Interp * interp, int argc, char *argv[]) ~~~~~~^~~~~~ tclpathplan.c: At top level: tclpathplan.c:908:5: warning: no previous prototype for 'Tclpathplan_Init' [-Wmissing-prototypes] int Tclpathplan_Init(Tcl_Interp * interp) ^~~~~~~~~~~~~~~~ tclpathplan.c:931:5: warning: no previous prototype for 'Tclpathplan_SafeInit' [-Wmissing-prototypes] int Tclpathplan_SafeInit(Tcl_Interp * interp) ^~~~~~~~~~~~~~~~~~~~ CCLD libtclplan.la sh ../../tclpkg/mkpkgindex.sh libtclplan.la Tclpathplan 2.44.0 make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' Making all in gv make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' Making all in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' swig -c++ -guile -o gv_guile.cpp ./gv.i CXX libgv_guile_la-gv.lo CC libgv_guile_la-gv_builtins.lo CC libgv_guile_la-gv_dummy_init.lo CXX libgv_ocaml_la-gv.lo CC libgv_ocaml_la-gv_builtins.lo cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C swig -c++ -ocaml -o gv_ocaml.cpp ./gv.i CC libgv_ocaml_la-gv_dummy_init.lo /bin/sed -e 's/SWIG_GUILE_INIT_STATIC void/void/' t$ mv -f t$ gv_guile.cpp CXX libgv_perl_la-gv.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ~~~~~~~^~~ cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C CC libgv_perl_la-gv_builtins.lo mv gv_ocaml.cpp gv_ocaml.cpp.orig sed '/int caml_array_length/d' gv_ocaml.cpp.orig > gv_ocaml.cpp rm gv_ocaml.cpp.orig CC libgv_perl_la-gv_dummy_init.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ~~~~~~~^~~ swig -c++ -perl5 -o gv_perl.cpp ./gv.i CXX libgv_python_la-gv.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ~~~~~~~^~~ CC libgv_python_la-gv_builtins.lo CC libgv_python_la-gv_dummy_init.lo swig -c++ -python -o gv_python.cpp ./gv.i CXX libgv_python2_la-gv.lo CC libgv_python2_la-gv_builtins.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ~~~~~~~^~~ CC libgv_python2_la-gv_dummy_init.lo swig -c++ -python -o gv_python2.cpp ./gv.i CXX libgv_tcl_la-gv.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ~~~~~~~^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ~~~~~~~^~~ CC libgv_tcl_la-gv_builtins.lo CC libgv_tcl_la-gv_tcl_init.lo swig -c++ -tcl -namespace -o gv_tcl.cpp ./gv.i swig -ocaml -co swig.mli swig -ocaml -co swig.ml swig -c++ -python -o gv_python3.cpp ./gv.i gv_tcl_init.c: In function 'gv_string_writer': gv_tcl_init.c:22:54: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] Tcl_AppendToObj((Tcl_Obj*)(job->output_file), s, len); ^~~ gv_tcl_init.c: In function 'gv_channel_writer': gv_tcl_init.c:28:58: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~ gv_tcl_init.c:28:12: warning: conversion to 'size_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] return Tcl_Write((Tcl_Channel)(job->output_file), s, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gv_tcl_init.c: At top level: gv_tcl_init.c:31:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init(GVC_t *gvc) ^~~~~~~~~~~~~~~~~~~~~ gv_tcl_init.c:36:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init(GVC_t *gvc) ^~~~~~~~~~~~~~~~~~~~~~ gv_tcl_init.c:41:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {gvc->write_fn = NULL;} ^~~~~~~~~~~~~~~ CXX libgv_guile_la-gv_guile.lo CXX libgv_ocaml_la-gv_ocaml.lo CXX libgv_perl_la-gv_perl.lo CXX libgv_python_la-gv_python.lo CXX libgv_python2_la-gv_python2.lo CXX libgv_tcl_la-gv_tcl.lo ocamlc -c swig.mli CXXLD libgv_guile.la ocamlc -c gv.mli ocamlc -c swig.ml File "swig.ml", line 159, characters 54-57: Warning 20: this argument will not be used by the function. ocamlc -c gv.ml File "gv.ml", line 567, characters 13-14: Warning 11: this match case is unused. ocamlc -a -dllib dllgv.so -custom -o gv.cma swig.cmo gv.cmo CXXLD libgv_python2.la CXXLD libgv_tcl.la CXXLD libgv_python.la CXXLD libgv_ocaml.la sh ../../tclpkg/mkpkgindex.sh libgv_tcl.la gv 0 CXXLD libgv_perl.la make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' echo "# end" >end cat tcldot/pkgIndex.tcl tclpathplan/pkgIndex.tcl gdtclft/pkgIndex.tcl gv/pkgIndex.tcl end >pkgIndex.tcl rm -f end make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' Making all in doc make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' Making all in info make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' Making all in schema make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' Making all in contrib make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' Making all in prune make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' CC generic_list.o CC prune.o generic_list.c: In function 'new_generic_list': generic_list.c:34:39: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] list->data = (gl_data *) malloc(size * sizeof(gl_data)); ~~~~~^~~~~~~~~~~~~~~~~ generic_list.c: In function 'add_to_generic_list': generic_list.c:67:47: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] (gl_data *) realloc(list->data, new_size * sizeof(gl_data)); ~~~~~~~~~^~~~~~~~~~~~~~~~~ CCLD prune make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' Making all in diffimg make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' CC diffimg.o CCLD diffimg make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' Making all in share make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' Making all in examples make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' Making all in gui make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' Making all in graphs make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' Making all in directed make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' Making all in undirected make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' Making all in rtest make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' Making all in graphs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' Making all in linux.x86 make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' Making all in tests make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' Making all in unit_tests make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' Making all in lib make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' Making all in common make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' Making all in regression_tests make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' Making all in shapes make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' Making all in reference make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' Making all in vuln make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' Making all in input make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' Making all in reference make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[1]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make install-recursive make[1]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' Making install in libltdl make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make install-am make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libltdl' Making install in lib make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' Making install in cdt make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libcdt.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 cdt.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 libcdt.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 cdt.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /usr/bin/install -c -m 644 cdt.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' libtool: install: /usr/bin/install -c .libs/libcdt.so.5.0.0 /home/slitaz/wok/graphviz/install/usr/lib/libcdt.so.5.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libcdt.so.5.0.0 libcdt.so.5 || { rm -f libcdt.so.5 && ln -s libcdt.so.5.0.0 libcdt.so.5; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libcdt.so.5.0.0 libcdt.so || { rm -f libcdt.so && ln -s libcdt.so.5.0.0 libcdt.so; }; }) libtool: install: /usr/bin/install -c .libs/libcdt.lai /home/slitaz/wok/graphviz/install/usr/lib/libcdt.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cdt' Making install in cgraph make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libcgraph.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 cgraph.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 libcgraph.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 cgraph.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 cgraph.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: warning: relinking 'libcgraph.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libcgraph.la -rpath /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 -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libcgraph.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/libcgraph.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libcgraph.so.6.0.0 libcgraph.so.6 || { rm -f libcgraph.so.6 && ln -s libcgraph.so.6.0.0 libcgraph.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libcgraph.so.6.0.0 libcgraph.so || { rm -f libcgraph.so && ln -s libcgraph.so.6.0.0 libcgraph.so; }; }) libtool: install: /usr/bin/install -c .libs/libcgraph.lai /home/slitaz/wok/graphviz/install/usr/lib/libcgraph.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/cgraph' Making install in pathplan make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /bin/sh ../../libtool --mode=install /usr/bin/install -c libpathplan.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 pathplan.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 pathgeom.h pathplan.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 libpathplan.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 pathplan.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: install: /usr/bin/install -c .libs/libpathplan.so.4.0.0 /home/slitaz/wok/graphviz/install/usr/lib/libpathplan.so.4.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libpathplan.so.4.0.0 libpathplan.so.4 || { rm -f libpathplan.so.4 && ln -s libpathplan.so.4.0.0 libpathplan.so.4; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libpathplan.so.4.0.0 libpathplan.so || { rm -f libpathplan.so && ln -s libpathplan.so.4.0.0 libpathplan.so; }; }) libtool: install: /usr/bin/install -c .libs/libpathplan.lai /home/slitaz/wok/graphviz/install/usr/lib/libpathplan.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pathplan' Making install in sfio make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' Making install in Sfio_f make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio/Sfio_f' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfio' Making install in vmalloc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vmalloc' Making install in ast make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ast' Making install in vpsc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/vpsc' Making install in rbtree make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/rbtree' Making install in ortho make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ortho' Making install in sparse make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sparse' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sparse' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sparse' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sparse' Making install in patchwork make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/patchwork' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/patchwork' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/patchwork' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/patchwork' Making install in expr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /usr/bin/install -c -m 644 expr.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 expr.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/expr' Making install in common make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make install-am make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make[5]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 arith.h geom.h color.h types.h textspan.h usershape.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/common' Making install in pack make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 pack.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 pack.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 pack.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/pack' Making install in xdot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libxdot.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 xdot.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 xdot.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 libxdot.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 xdot.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: install: /usr/bin/install -c .libs/libxdot.so.4.0.0 /home/slitaz/wok/graphviz/install/usr/lib/libxdot.so.4.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libxdot.so.4.0.0 libxdot.so.4 || { rm -f libxdot.so.4 && ln -s libxdot.so.4.0.0 libxdot.so.4; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libxdot.so.4.0.0 libxdot.so || { rm -f libxdot.so && ln -s libxdot.so.4.0.0 libxdot.so; }; }) libtool: install: /usr/bin/install -c .libs/libxdot.lai /home/slitaz/wok/graphviz/install/usr/lib/libxdot.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/xdot' Making install in label make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/label' Making install in gvc make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvc.la '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 gvc.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 libgvc.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 gvc.h gvcext.h gvplugin.h gvcjob.h gvcommon.h gvplugin_render.h gvplugin_layout.h gvconfig.h gvplugin_textlayout.h gvplugin_device.h gvplugin_loadimage.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 gvc.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: warning: relinking 'libgvc.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvc.la -rpath /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 -lexpat -lz -lm -lz -lm -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvc.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/libgvc.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libgvc.so.6.0.0 libgvc.so.6 || { rm -f libgvc.so.6 && ln -s libgvc.so.6.0.0 libgvc.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libgvc.so.6.0.0 libgvc.so || { rm -f libgvc.so && ln -s libgvc.so.6.0.0 libgvc.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvc.lai /home/slitaz/wok/graphviz/install/usr/lib/libgvc.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvc' Making install in ingraphs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/ingraphs' Making install in topfish make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/topfish' Making install in glcomp make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/glcomp' Making install in mingle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/mingle' Making install in edgepaint make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /bin/sh ../../libtool --mode=install /usr/bin/install -c liblab_gamut.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 liblab_gamut.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 lab_gamut.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 lab_gamut.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: install: /usr/bin/install -c .libs/liblab_gamut.so.1.0.0 /home/slitaz/wok/graphviz/install/usr/lib/liblab_gamut.so.1.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f liblab_gamut.so.1.0.0 liblab_gamut.so.1 || { rm -f liblab_gamut.so.1 && ln -s liblab_gamut.so.1.0.0 liblab_gamut.so.1; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f liblab_gamut.so.1.0.0 liblab_gamut.so || { rm -f liblab_gamut.so && ln -s liblab_gamut.so.1.0.0 liblab_gamut.so; }; }) libtool: install: /usr/bin/install -c .libs/liblab_gamut.lai /home/slitaz/wok/graphviz/install/usr/lib/liblab_gamut.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/edgepaint' Making install in circogen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/circogen' Making install in dotgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/dotgen' Making install in fdpgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/fdpgen' Making install in neatogen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/neatogen' Making install in twopigen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/twopigen' Making install in sfdpgen make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/sfdpgen' Making install in osage make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/osage' Making install in gvpr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvpr.la '/home/slitaz/wok/graphviz/install/usr/lib' /usr/bin/install -c -m 644 libgvpr.pc '/home/slitaz/wok/graphviz/install/usr/lib/pkgconfig' /usr/bin/install -c -m 644 gvpr.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 gvpr.3.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gvpr.3 '/home/slitaz/wok/graphviz/install/usr/share/man/man3' libtool: warning: relinking 'libgvpr.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvpr.la -rpath /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 -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvpr.so.2.0.0T /home/slitaz/wok/graphviz/install/usr/lib/libgvpr.so.2.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libgvpr.so.2.0.0 libgvpr.so.2 || { rm -f libgvpr.so.2 && ln -s libgvpr.so.2.0.0 libgvpr.so.2; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib && { ln -s -f libgvpr.so.2.0.0 libgvpr.so || { rm -f libgvpr.so && ln -s libgvpr.so.2.0.0 libgvpr.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvpr.lai /home/slitaz/wok/graphviz/install/usr/lib/libgvpr.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/gvpr' Making install in spine make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib/spine' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/lib' Making install in plugin make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' Making install in core make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_core.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: warning: relinking 'libgvplugin_core.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvplugin_core.la -rpath /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 -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvplugin_core.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_core.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_core.so.6.0.0 libgvplugin_core.so.6 || { rm -f libgvplugin_core.so.6 && ln -s libgvplugin_core.so.6.0.0 libgvplugin_core.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_core.so.6.0.0 libgvplugin_core.so || { rm -f libgvplugin_core.so && ln -s libgvplugin_core.so.6.0.0 libgvplugin_core.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_core.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_core.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/core' Making install in devil make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/devil' Making install in gd make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_gd.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: warning: relinking 'libgvplugin_gd.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvplugin_gd.la -rpath /usr/lib/graphviz gvplugin_gd.lo gvrender_gd.lo gvrender_gd_vrml.lo gvtextlayout_gd.lo gvloadimage_gd.lo gvdevice_gd.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lgd -lm -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvplugin_gd.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_gd.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_gd.so.6.0.0 libgvplugin_gd.so.6 || { rm -f libgvplugin_gd.so.6 && ln -s libgvplugin_gd.so.6.0.0 libgvplugin_gd.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_gd.so.6.0.0 libgvplugin_gd.so || { rm -f libgvplugin_gd.so && ln -s libgvplugin_gd.so.6.0.0 libgvplugin_gd.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_gd.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_gd.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gd' Making install in gdk make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdk' Making install in gdiplus make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gdiplus' Making install in glitz make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/glitz' Making install in gs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gs' Making install in gtk make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/gtk' Making install in lasi make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/lasi' Making install in ming make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/ming' Making install in pango make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/pango' Making install in quartz make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/quartz' Making install in rsvg make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/rsvg' Making install in visio make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_visio.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: warning: relinking 'libgvplugin_visio.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -version-info 6:0:0 -Wl,-Os,--as-needed -o libgvplugin_visio.la -rpath /usr/lib/graphviz gvplugin_visio.lo VisioGraphic.lo VisioRender.lo VisioText.lo gvrender_visio_vdx.lo ../../lib/gvc/libgvc.la -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvplugin_visio.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_visio.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_visio.so.6.0.0 libgvplugin_visio.so.6 || { rm -f libgvplugin_visio.so.6 && ln -s libgvplugin_visio.so.6.0.0 libgvplugin_visio.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_visio.so.6.0.0 libgvplugin_visio.so || { rm -f libgvplugin_visio.so && ln -s libgvplugin_visio.so.6.0.0 libgvplugin_visio.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_visio.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_visio.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/visio' Making install in xlib make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /usr/bin/install -c -m 644 vimdot.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 vimdot.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/xlib' Making install in dot_layout make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_dot_layout.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: warning: relinking 'libgvplugin_dot_layout.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvplugin_dot_layout.la -rpath /usr/lib/graphviz gvplugin_dot_layout.lo gvlayout_dot_layout.lo ../../lib/dotgen/libdotgen_C.la ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la ../../lib/pathplan/libpathplan.la -lm -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvplugin_dot_layout.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_dot_layout.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so.6 || { rm -f libgvplugin_dot_layout.so.6 && ln -s libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so || { rm -f libgvplugin_dot_layout.so && ln -s libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_dot_layout.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_dot_layout.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/dot_layout' Making install in neato_layout make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_neato_layout.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: warning: relinking 'libgvplugin_neato_layout.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libgvplugin_neato_layout.la -rpath /usr/lib/graphviz gvplugin_neato_layout.lo gvlayout_neato_layout.lo ../../lib/neatogen/libneatogen_C.la ../../lib/twopigen/libtwopigen_C.la ../../lib/patchwork/libpatchwork_C.la ../../lib/osage/libosage_C.la ../../lib/fdpgen/libfdpgen_C.la ../../lib/sparse/libsparse_C.la ../../lib/rbtree/librbtree_C.la ../../lib/circogen/libcircogen_C.la ../../lib/sfdpgen/libsfdpgen_C.la ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la ../../lib/pathplan/libpathplan.la ../../lib/vpsc/libvpsc_C.la -lstdc++ -lm -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgvplugin_neato_layout.so.6.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_neato_layout.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so.6 || { rm -f libgvplugin_neato_layout.so.6 && ln -s libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so || { rm -f libgvplugin_neato_layout.so && ln -s libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_neato_layout.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_neato_layout.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/neato_layout' Making install in webp make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' make[4]: Nothing to be done for 'install-data-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgvplugin_webp.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz' libtool: install: /usr/bin/install -c .libs/libgvplugin_webp.so.6.0.0 /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_webp.so.6.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_webp.so.6.0.0 libgvplugin_webp.so.6 || { rm -f libgvplugin_webp.so.6 && ln -s libgvplugin_webp.so.6.0.0 libgvplugin_webp.so.6; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz && { ln -s -f libgvplugin_webp.so.6.0.0 libgvplugin_webp.so || { rm -f libgvplugin_webp.so && ln -s libgvplugin_webp.so.6.0.0 libgvplugin_webp.so; }; }) libtool: install: /usr/bin/install -c .libs/libgvplugin_webp.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/libgvplugin_webp.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/webp' Making install in poppler make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin/poppler' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/plugin' Making install in cmd make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' Making install in dot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /usr/bin/install -c -m 644 dot.1.pdf osage.1.pdf patchwork.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 dot.1 osage.1 patchwork.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' make install-data-hook make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' (cd /home/slitaz/wok/graphviz/install/usr/share/man/man1; for i in neato.1 twopi.1 fdp.1 circo.1 sfdp.1; do rm -f $i; ln -s dot.1 $i; done;) /bin/sh ../../libtool --mode=install /usr/bin/install -c dot dot_builtins '/home/slitaz/wok/graphviz/install/usr/bin' (cd /home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf; for i in neato.1.pdf twopi.1.pdf fdp.1.pdf circo.1.pdf sfdp.1.pdf; do rm -f $i; ln -s dot.1.pdf $i; done;) libtool: warning: '../../lib/gvc/libgvc.la' has not been installed in '/usr/lib' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/dot /home/slitaz/wok/graphviz/install/usr/bin/dot libtool: warning: '../../plugin/dot_layout/libgvplugin_dot_layout.la' has not been installed in '/usr/lib/graphviz' libtool: warning: '../../plugin/neato_layout/libgvplugin_neato_layout.la' has not been installed in '/usr/lib/graphviz' libtool: warning: '../../plugin/core/libgvplugin_core.la' has not been installed in '/usr/lib/graphviz' libtool: warning: '../../lib/gvc/libgvc.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/pathplan/libpathplan.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/xdot/libxdot.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: warning: '../../plugin/gd/libgvplugin_gd.la' has not been installed in '/usr/lib/graphviz' libtool: install: /usr/bin/install -c .libs/dot_builtins /home/slitaz/wok/graphviz/install/usr/bin/dot_builtins make install-exec-hook make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' (cd /home/slitaz/wok/graphviz/install/usr/bin; if test -x dot; then for i in neato twopi fdp circo osage patchwork sfdp; do rm -f $i; ln -s dot $i; done; fi;) if test "x/home/slitaz/wok/graphviz/install" = "x"; then if test -x /usr/bin/dot; then if test -x /sbin/ldconfig; then /sbin/ldconfig 2>/dev/null; fi; /usr/bin/dot -c; else /usr/bin/dot_static -c; fi; fi make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dot' Making install in tools make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /bin/sh ../../libtool --mode=install /usr/bin/install -c gc gvcolor gxl2gv acyclic nop ccomps sccmap tred unflatten gvpack dijkstra bcomps mm2gv gvgen gml2gv gv2gml graphml2gv '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 gc.1.pdf gvcolor.1.pdf gxl2gv.1.pdf acyclic.1.pdf nop.1.pdf ccomps.1.pdf sccmap.1.pdf tred.1.pdf unflatten.1.pdf gvpack.1.pdf dijkstra.1.pdf bcomps.1.pdf mm2gv.1.pdf gvgen.1.pdf gml2gv.1.pdf graphml2gv.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gc.1 gvcolor.1 gxl2gv.1 acyclic.1 nop.1 ccomps.1 sccmap.1 tred.1 unflatten.1 gvpack.1 dijkstra.1 bcomps.1 mm2gv.1 gvgen.1 gml2gv.1 graphml2gv.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' make install-data-hook make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' (cd /home/slitaz/wok/graphviz/install/usr/share/man/man1; rm -f gv2gxl.1; ln -s gxl2gv.1 gv2gxl.1;) (cd /home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf; rm -f gv2gxl.1.pdf; ln -s gxl2gv.1.pdf gv2gxl.1.pdf;) (cd /home/slitaz/wok/graphviz/install/usr/share/man/man1; rm -f gxl2dot.1; ln -s gxl2gv.1 gxl2dot.1;) (cd /home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf; rm -f gxl2dot.1.pdf; ln -s gxl2gv.1.pdf gxl2dot.1.pdf;) (cd /home/slitaz/wok/graphviz/install/usr/share/man/man1; rm -f dot2gxl.1; ln -s gv2gxl.1 dot2gxl.1;) (cd /home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf; rm -f dot2gxl.1.pdf; ln -s gv2gxl.1.pdf dot2gxl.1.pdf;) libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' (cd /home/slitaz/wok/graphviz/install/usr/share/man/man1; rm -f gv2gml.1; ln -s gml2gv.1 gv2gml.1;) libtool: install: /usr/bin/install -c .libs/gc /home/slitaz/wok/graphviz/install/usr/bin/gc (cd /home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf; rm -f gv2gml.1.pdf; ln -s gml2gv.1.pdf gv2gml.1.pdf;) make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gvcolor /home/slitaz/wok/graphviz/install/usr/bin/gvcolor libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gxl2gv /home/slitaz/wok/graphviz/install/usr/bin/gxl2gv libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/acyclic /home/slitaz/wok/graphviz/install/usr/bin/acyclic libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/nop /home/slitaz/wok/graphviz/install/usr/bin/nop libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/ccomps /home/slitaz/wok/graphviz/install/usr/bin/ccomps libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/sccmap /home/slitaz/wok/graphviz/install/usr/bin/sccmap libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/tred /home/slitaz/wok/graphviz/install/usr/bin/tred libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/unflatten /home/slitaz/wok/graphviz/install/usr/bin/unflatten libtool: warning: '../../lib/gvc/libgvc.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: warning: '../../plugin/neato_layout/libgvplugin_neato_layout.la' has not been installed in '/usr/lib/graphviz' libtool: install: /usr/bin/install -c .libs/gvpack /home/slitaz/wok/graphviz/install/usr/bin/gvpack libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/dijkstra /home/slitaz/wok/graphviz/install/usr/bin/dijkstra libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/bcomps /home/slitaz/wok/graphviz/install/usr/bin/bcomps libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/mm2gv /home/slitaz/wok/graphviz/install/usr/bin/mm2gv libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gvgen /home/slitaz/wok/graphviz/install/usr/bin/gvgen libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gml2gv /home/slitaz/wok/graphviz/install/usr/bin/gml2gv libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gv2gml /home/slitaz/wok/graphviz/install/usr/bin/gv2gml libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/graphml2gv /home/slitaz/wok/graphviz/install/usr/bin/graphml2gv make install-exec-hook make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' (cd /home/slitaz/wok/graphviz/install/usr/bin; rm -f gv2gxl; ln -s gxl2gv gv2gxl;) (cd /home/slitaz/wok/graphviz/install/usr/bin; rm -f dot2gxl; ln -s gxl2gv dot2gxl;) (cd /home/slitaz/wok/graphviz/install/usr/bin; rm -f gxl2dot; ln -s gxl2gv gxl2dot;) make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/tools' Making install in gvpr make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' Making install in lib make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[5]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/gvpr' /usr/bin/install -c -m 644 addedges addranks addrings anon attr bb bbox bipart binduce chkclusters chkedges cliptree col collapse color cycle dechain deghist deledges delmulti delnodes depath dijkstra flatten get-layers-list histogram group indent knbhd maxdeg path rotate scale scalexy span topon treetoclust '/home/slitaz/wok/graphviz/install/usr/share/graphviz/gvpr' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr/lib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gvpr.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /bin/sh ../../libtool --mode=install /usr/bin/install -c gvpr '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 gvpr.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: warning: '../../lib/gvpr/libgvpr.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gvpr /home/slitaz/wok/graphviz/install/usr/bin/gvpr make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvpr' Making install in lefty make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' Making install in ws make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' Making install in x11 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' Making install in libfilereq make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' make[7]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' make[7]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/x11' Making install in mswin32 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws/mswin32' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/ws' Making install in os make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' Making install in unix make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/unix' Making install in mswin32 make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os/mswin32' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/os' Making install in dot2l make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/dot2l' Making install in examples make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[5]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' /usr/bin/install -c -m 644 box.lefty def.lefty fractal.lefty fractal2.lefty slides.lefty tree.lefty '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty/examples' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /bin/sh ../../libtool --mode=install /usr/bin/install -c lefty '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 lefty.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 lefty.psp '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' /usr/bin/install -c -m 644 lefty.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: install: /usr/bin/install -c lefty /home/slitaz/wok/graphviz/install/usr/bin/lefty make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lefty' Making install in lneato make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c lneato '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 lneato.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 lneato.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/lneato' Making install in dotty make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c dotty '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 dotty.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 dotty.lefty dotty_draw.lefty dotty_edit.lefty dotty_layout.lefty dotty_ui.lefty '/home/slitaz/wok/graphviz/install/usr/share/graphviz/lefty' /usr/bin/install -c -m 644 dotty.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/dotty' Making install in smyrna make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/smyrna' Making install in gvmap make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /bin/sh ../../libtool --mode=install /usr/bin/install -c gvmap cluster '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c gvmap.sh '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 gvmap.1.pdf cluster.1.pdf gvmap.sh.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gvmap.1 cluster.1 gvmap.sh.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: warning: '../../lib/edgepaint/liblab_gamut.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gvmap /home/slitaz/wok/graphviz/install/usr/bin/gvmap libtool: warning: '../../lib/edgepaint/liblab_gamut.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/cluster /home/slitaz/wok/graphviz/install/usr/bin/cluster make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvmap' Making install in gvedit make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' Making install in ui make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/ui' Making install in images make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit/images' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/gvedit' Making install in mingle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /usr/bin/install -c -m 644 mingle.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /usr/bin/install -c -m 644 mingle.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/mingle' Making install in edgepaint make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 edgepaint.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /bin/sh ../../libtool --mode=install /usr/bin/install -c edgepaint '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 edgepaint.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: warning: '../../lib/edgepaint/liblab_gamut.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/edgepaint /home/slitaz/wok/graphviz/install/usr/bin/edgepaint make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd/edgepaint' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/cmd' Making install in tclpkg make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' Making install in tclstubs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclstubs' Making install in tclhandle make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclhandle' Making install in gdtclft make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' Making install in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[5]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c -m 644 entities.tcl.README entities.html '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c entities.tcl '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' make[5]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /usr/bin/install -c -m 644 gdtclft.3tcl.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gdtclft.3tcl '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgdtclft.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' libtool: install: /usr/bin/install -c .libs/libgdtclft.so.0.0.0 /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libgdtclft.so.0.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libgdtclft.so.0.0.0 libgdtclft.so.0 || { rm -f libgdtclft.so.0 && ln -s libgdtclft.so.0.0.0 libgdtclft.so.0; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libgdtclft.so.0.0.0 libgdtclft.so || { rm -f libgdtclft.so && ln -s libgdtclft.so.0.0.0 libgdtclft.so; }; }) libtool: install: /usr/bin/install -c .libs/libgdtclft.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libgdtclft.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/tcl' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gdtclft' Making install in tcldot make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' Making install in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[5]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c -m 644 doted.tcl.README gcat.tcl.README '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c doted.tcl gcat.tcl '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' make[5]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /usr/bin/install -c -m 644 tcldot.3tcl.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 tcldot.3tcl '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libtcldot.la libtcldot_builtin.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /usr/bin/install -c -m 644 tcldot.html '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html' libtool: warning: relinking 'libtcldot.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -DUSE_TCL_STUBS -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libtcldot.la -rpath /usr/lib/graphviz/tcl libtcldot_la-tcldot.lo libtcldot_la-tcldot-graphcmd.lo libtcldot_la-tcldot-nodecmd.lo libtcldot_la-tcldot-edgecmd.lo libtcldot_la-tcldot-util.lo libtcldot_la-tcldot-id.lo libtcldot_la-tcldot-io.lo libtcldot_la-no_builtins.lo ../../tclpkg/tclhandle/libtclhandle_C.la ../../tclpkg/gdtclft/libgdtclft_C.la ../../tclpkg/tclstubs/libtclstubs_C.la ../../lib/cdt/libcdt.la ../../lib/cgraph/libcgraph.la ../../lib/pathplan/libpathplan_C.la ../../lib/gvc/libgvc.la -lgd -lm -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libtcldot.so.0.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtcldot.so.0.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtcldot.so.0.0.0 libtcldot.so.0 || { rm -f libtcldot.so.0 && ln -s libtcldot.so.0.0.0 libtcldot.so.0; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtcldot.so.0.0.0 libtcldot.so || { rm -f libtcldot.so && ln -s libtcldot.so.0.0.0 libtcldot.so; }; }) libtool: install: /usr/bin/install -c .libs/libtcldot.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtcldot.la libtool: install: /usr/bin/install -c .libs/libtcldot_builtin.so.0.0.0 /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtcldot_builtin.so.0.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtcldot_builtin.so.0.0.0 libtcldot_builtin.so.0 || { rm -f libtcldot_builtin.so.0 && ln -s libtcldot_builtin.so.0.0.0 libtcldot_builtin.so.0; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtcldot_builtin.so.0.0.0 libtcldot_builtin.so || { rm -f libtcldot_builtin.so && ln -s libtcldot_builtin.so.0.0.0 libtcldot_builtin.so; }; }) libtool: install: /usr/bin/install -c .libs/libtcldot_builtin.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtcldot_builtin.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/tcl' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tcldot' Making install in tclpathplan make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' Making install in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' Making install in pathplan_data make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[6]: Nothing to be done for 'install-exec-am'. ../../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo/pathplan_data' /usr/bin/install -c -m 644 boxes.dat dpd.dat funny.dat maze.dat nested.dat northo.dat obs.dat other.dat paths.dat rotor.dat u.dat unknown.dat '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo/pathplan_data' make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[6]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c pathplan.tcl '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c -m 644 pathplan.tcl.README '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' make[5]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libtclplan.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' libtool: warning: relinking 'libtclplan.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CC --mode=relink i486-slitaz-linux-gcc -DUSE_TCL_STUBS -march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -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 -Wl,-Os,--as-needed -o libtclplan.la -rpath /usr/lib/graphviz/tcl find_ints.lo intersect.lo makecw.lo tclpathplan.lo wrapper.lo ../../tclpkg/tclhandle/libtclhandle_C.la ../../tclpkg/tclstubs/libtclstubs_C.la ../../lib/pathplan/libpathplan.la -lm -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libtclplan.so.0.0.0T /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtclplan.so.0.0.0 libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtclplan.so.0.0.0 libtclplan.so.0 || { rm -f libtclplan.so.0 && ln -s libtclplan.so.0.0.0 libtclplan.so.0; }; }) libtool: install: (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl && { ln -s -f libtclplan.so.0.0.0 libtclplan.so || { rm -f libtclplan.so && ln -s libtclplan.so.0.0.0 libtclplan.so; }; }) libtool: install: /usr/bin/install -c .libs/libtclplan.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libtclplan.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/tcl' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/tclpathplan' Making install in gv make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' Making install in demo make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[5]: Nothing to be done for 'install-exec-am'. ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c modgraph.pl '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c modgraph.py '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c modgraph.py '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' ../../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' /usr/bin/install -c modgraph.tcl '/home/slitaz/wok/graphviz/install/usr/share/graphviz/demo' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv/demo' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man3' /usr/bin/install -c -m 644 gv.3guile.pdf gv.3ocaml.pdf gv.3perl.pdf gv.3python.pdf gv.3tcl.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 gv.3guile gv.3ocaml gv.3perl gv.3python gv.3tcl '/home/slitaz/wok/graphviz/install/usr/share/man/man3' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/guile' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 gv.i gv.cpp '/home/slitaz/wok/graphviz/install/usr/include/graphviz' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_guile.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/guile' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl' /usr/bin/install -c -m 644 gv.cmo gv.cma gv.cmi META.gv '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml' /usr/bin/install -c -m 644 gv.pm '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_ocaml.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_perl.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2' libtool: warning: relinking 'libgv_guile.la' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python' /usr/bin/install -c -m 644 gv.py '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-Os,--as-needed -o libgv_guile.la -rpath /usr/lib/graphviz/guile libgv_guile_la-gv.lo libgv_guile_la-gv_builtins.lo libgv_guile_la-gv_dummy_init.lo libgv_guile_la-gv_guile.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lguile-2.2 -lgc -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python' libtool: warning: relinking 'libgv_ocaml.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-Os,--as-needed -o libgv_ocaml.la -rpath /usr/lib/graphviz/ocaml libgv_ocaml_la-gv.lo libgv_ocaml_la-gv_builtins.lo libgv_ocaml_la-gv_dummy_init.lo libgv_ocaml_la-gv_ocaml.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -L/usr/lib/ocaml -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: warning: relinking 'libgv_perl.la' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_python2.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28.1/i486-linux-thread-multi/CORE -fstack-protector-strong -L/usr/lib/perl5/5.28.1/i486-linux-thread-multi/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -Wl,-Os,--as-needed -o libgv_perl.la -rpath /usr/lib/graphviz/perl libgv_perl_la-gv.lo libgv_perl_la-gv_builtins.lo libgv_perl_la-gv_dummy_init.lo libgv_perl_la-gv_perl.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -L/usr/lib/perl5/5.28.1/i486-linux-thread-multi/CORE -lperl -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) /usr/bin/install -c -m 644 gv.py '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_python.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/python' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /bin/sh ../../libtool --mode=install /usr/bin/install -c libgv_tcl.la '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' libtool: warning: relinking 'libgv_python2.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-Os,--as-needed -o libgv_python2.la -rpath /usr/lib/graphviz/python2 libgv_python2_la-gv.lo libgv_python2_la-gv_builtins.lo libgv_python2_la-gv_dummy_init.lo libgv_python2_la-gv_python2.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lpython2.7 -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: warning: relinking 'libgv_python.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-Os,--as-needed -o libgv_python.la -rpath /usr/lib/graphviz/python libgv_python_la-gv.lo libgv_python_la-gv_builtins.lo libgv_python_la-gv_dummy_init.lo libgv_python_la-gv_python.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -undefined dynamic_lookup -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: warning: relinking 'libgv_tcl.la' libtool: install: (cd /home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv; /bin/sh "/home/slitaz/wok/graphviz/source/graphviz-2.44.0/libtool" --silent --tag CXX --mode=relink i486-slitaz-linux-g++ -march=i486 -Os -pipe -mindirect-branch=thunk -fPIE -fPIC -std=c++11 -module -avoid-version -Wl,-Os,--as-needed -o libgv_tcl.la -rpath /usr/lib/graphviz/tcl libgv_tcl_la-gv.lo libgv_tcl_la-gv_builtins.lo libgv_tcl_la-gv_tcl_init.lo libgv_tcl_la-gv_tcl.lo ../../tclpkg/tclstubs/libtclstubs_C.la ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lc -inst-prefix-dir /home/slitaz/wok/graphviz/install) libtool: install: /usr/bin/install -c .libs/libgv_guile.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/guile/libgv_guile.so libtool: install: /usr/bin/install -c .libs/libgv_guile.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/guile/libgv_guile.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/guile' libtool: install: /usr/bin/install -c .libs/libgv_ocaml.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml/libgv_ocaml.so libtool: install: /usr/bin/install -c .libs/libgv_ocaml.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/ocaml/libgv_ocaml.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/ocaml' libtool: install: /usr/bin/install -c .libs/libgv_python2.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2/libgv_python2.so libtool: install: /usr/bin/install -c .libs/libgv_python2.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2/libgv_python2.la libtool: install: /usr/bin/install -c .libs/libgv_python.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python/libgv_python.so libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/python2' libtool: install: /usr/bin/install -c .libs/libgv_python.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python/libgv_python.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/python' libtool: install: /usr/bin/install -c .libs/libgv_perl.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl/libgv_perl.so libtool: install: /usr/bin/install -c .libs/libgv_perl.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl/libgv_perl.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/perl' libtool: install: /usr/bin/install -c .libs/libgv_tcl.soT /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libgv_tcl.so libtool: install: /usr/bin/install -c .libs/libgv_tcl.lai /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl/libgv_tcl.la libtool: warning: remember to run 'libtool --finish /usr/lib/graphviz/tcl' make install-data-hook make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl; rm -f gv.so; ln -s libgv_perl.so gv.so;) (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python; rm -f _gv.so; ln -s libgv_python.so _gv.so;) (cd /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2; rm -f _gv.so; ln -s libgv_python2.so _gv.so;) make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg/gv' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[4]: Nothing to be done for 'install-exec-am'. ../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' /usr/bin/install -c -m 644 pkgIndex.tcl '/home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl' make install-data-hook make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' mkdir -p /home/slitaz/wok/graphviz/install/usr/lib/perl5/vendor_perl/5.28.1/i486-linux-thread-multi; if test -w /home/slitaz/wok/graphviz/install/usr/lib/perl5/vendor_perl/5.28.1/i486-linux-thread-multi; then \ (cd /home/slitaz/wok/graphviz/install/usr/lib/perl5/vendor_perl/5.28.1/i486-linux-thread-multi; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl/libgv_perl.so gv.so; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/perl/gv.pm gv.pm;) \ else \ echo "Warning: /usr/lib/perl5/vendor_perl/5.28.1/i486-linux-thread-multi is not writable."; \ echo "Skipping system installation of perl binding."; \ fi mkdir -p /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; if test -w /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; then \ (cd /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python/libgv_python.so _gv.so; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python/gv.py gv.py;) \ else \ echo "Warning: /usr/lib/python2.7/site-packages is not writable."; \ echo "Skipping system installation of python binding."; \ fi mkdir -p /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; if test -w /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; then \ (cd /home/slitaz/wok/graphviz/install/usr/lib/python2.7/site-packages; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2/libgv_python2.so _gv.so; \ cp -f /home/slitaz/wok/graphviz/install/usr/lib/graphviz/python2/gv.py gv.py;) \ else \ echo "Warning: is not writable."; \ echo "Skipping system installation of python2 binding."; \ fi mkdir -p /home/slitaz/wok/graphviz/install/usr/lib/tcl8.6; if test -w /home/slitaz/wok/graphviz/install/usr/lib/tcl8.6/; then \ (cd /home/slitaz/wok/graphviz/install/usr/lib/tcl8.6; \ cp -rf /home/slitaz/wok/graphviz/install/usr/lib/graphviz/tcl graphviz;) \ else \ echo "Warning: /usr/lib/tcl8.6 is not writable."; \ echo "Skipping system installation of tcl bindings."; \ fi make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tclpkg' Making install in doc make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' Making install in info make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' /usr/bin/install -c -m 644 attrs.html colors.html command.html index.html lang.html output.html shapes.html arrows.html Mcircle.gif Mdiamond.gif Msquare.gif a_box.gif a_crow.gif a_diamond.gif a_dot.gif a_ediamond.gif a_empty.gif a_forward.gif a_halfopen.gif a_inv.gif a_invdot.gif a_invempty.gif a_invodot.gif a_lteeoldiamond.gif a_nohead.gif a_none.gif a_normal.gif a_obox.gif a_odiamond.gif a_odot.gif a_open.gif a_tee.gif aa_box.gif aa_crow.gif aa_diamond.gif aa_dot.gif aa_inv.gif aa_lbox.gif aa_lcrow.gif aa_ldiamond.gif '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' /usr/bin/install -c -m 644 aa_linv.gif aa_lnormal.gif aa_ltee.gif aa_lvee.gif aa_none.gif aa_normal.gif aa_obox.gif aa_odiamond.gif aa_odot.gif aa_oinv.gif aa_olbox.gif aa_oldiamond.gif aa_olinv.gif aa_olnormal.gif aa_onormal.gif aa_orbox.gif aa_ordiamond.gif aa_orinv.gif aa_ornormal.gif aa_rbox.gif aa_rcrow.gif aa_rdiamond.gif aa_rinv.gif aa_rnormal.gif aa_rtee.gif aa_rvee.gif aa_tee.gif aa_vee.gif back.gif both.gif box.gif box3d.gif circle.gif colorlist.gif component.gif underline.gif constraint.gif cylinder.gif diamond.gif doublecircle.gif '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' /usr/bin/install -c -m 644 doubleoctagon.gif egg.gif ellipse.gif fill.gif folder.gif forward.gif hexagon.gif house.gif g_lin0.png g_lin270.png g_lin45.png g_rad0.png g_rad270.png g_rad45.png g_lin180.png g_lin360.png g_lin90.png g_rad180.png g_rad360.png g_rad90.png html1.gif html2.gif html3.gif html4.gif invhouse.gif invtrapezium.gif invtriangle.gif mrecord.gif nohead.gif none.gif plain.gif note.gif octagon.gif oval.gif parallelogram.gif pentagon.gif plaintext.gif point.gif polygon.gif record.gif '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' /usr/bin/install -c -m 644 record2.gif rect.gif rectangle.gif round.gif septagon.gif tab.gif trapezium.gif triangle.gif tripleoctagon.gif sdlshapes.jpg sdlshapes.png square.gif html2.gv html3.gv html4.gv plugins.png c_bold.png c_dashed.png c_dotted.png c_filled.png c_rounded.png c_solid.png c_striped.png e_bold.png e_dashed.png e_dotted.png e_solid.png g_lin0.png g_lin180.png g_lin270.png g_lin360.png g_lin45.png g_lin90.png g_rad0.png g_rad180.png g_rad270.png g_rad360.png g_rad45.png g_rad90.png n_bold.png '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' /usr/bin/install -c -m 644 n_dashed.png n_diagonals.png n_dotted.png n_filled.png n_rounded.png n_solid.png n_striped.png n_wedged.png none_back.png none_both.png none_forward.png none_none.png normal_back.png normal_both.png normal_forward.png normal_none.png spline_curved.png spline_none.png spline_polyline.png spline_line.png spline_ortho.png spline_spline.png '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/info' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/info' Making install in schema make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/schema' /usr/bin/install -c -m 644 arguments.xml attributes.xml attributes.xslt '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html/schema' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc/schema' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[4]: Nothing to be done for 'install-exec-am'. ../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html' ../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc' ../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 build.html FAQ.html index.html winbuild.html pspdf.png char.html gdtclft.entities.example.png todo.html internal_todo.html '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/html' /usr/bin/install -c -m 644 Dot.ref latex_suggestions.txt fontfaq.txt addingLayout.txt '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc' /usr/bin/install -c -m 644 dotguide.pdf dottyguide.pdf leftyguide.pdf neatoguide.pdf libgraph/Agraph.pdf libguide/libguide.pdf smyrna/smyrna.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/doc' Making install in contrib make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' Making install in prune make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /usr/bin/install -c -m 644 prune.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /bin/sh ../../libtool --mode=install /usr/bin/install -c prune '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 prune.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: warning: '../../lib/cgraph/libcgraph.la' has not been installed in '/usr/lib' libtool: warning: '../../lib/cdt/libcdt.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/prune /home/slitaz/wok/graphviz/install/usr/bin/prune make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/prune' Making install in diffimg make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/bin' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man1' /bin/sh ../../libtool --mode=install /usr/bin/install -c diffimg '/home/slitaz/wok/graphviz/install/usr/bin' /usr/bin/install -c -m 644 diffimg.1.pdf '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc/pdf' /usr/bin/install -c -m 644 diffimg.1 '/home/slitaz/wok/graphviz/install/usr/share/man/man1' libtool: install: /usr/bin/install -c diffimg /home/slitaz/wok/graphviz/install/usr/bin/diffimg make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib/diffimg' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/contrib' Making install in share make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' Making install in examples make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/examples' Making install in gui make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share/gui' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/share' Making install in graphs make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' Making install in directed make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/graphs/directed' /usr/bin/install -c -m 644 KW91.gv Latin1.gv NaN.gv abstract.gv alf.gv arrows.gv awilliams.gv biological.gv clust.gv clust1.gv clust2.gv clust3.gv clust4.gv clust5.gv crazy.gv ctext.gv dfa.gv fig6.gv fsm.gv grammar.gv hashtable.gv honda-tokoro.gv jcctree.gv jsort.gv ldbxtried.gv longflat.gv mike.gv nhg.gv oldarrows.gv pgram.gv pm2way.gv pmpipe.gv polypoly.gv proc3d.gv psfonttest.gv record2.gv records.gv rowe.gv japanese.gv russian.gv '/home/slitaz/wok/graphviz/install/usr/share/graphviz/graphs/directed' /usr/bin/install -c -m 644 sdh.gv shells.gv states.gv structs.gv table.gv train11.gv trapeziumlr.gv tree.gv triedds.gv try.gv unix.gv unix2.gv viewfile.gv world.gv switch.gv '/home/slitaz/wok/graphviz/install/usr/share/graphviz/graphs/directed' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/directed' Making install in undirected make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[4]: Nothing to be done for 'install-exec-am'. ../../config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/graphs/undirected' /usr/bin/install -c -m 644 ER.gv ngk10_4.gv process.gv Heawood.gv Petersen.gv '/home/slitaz/wok/graphviz/install/usr/share/graphviz/graphs/undirected' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs/undirected' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/graphs' Making install in rtest make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' Making install in graphs make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/graphs' Making install in linux.x86 make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest/linux.x86' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/rtest' Making install in tests make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' Making install in unit_tests make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' Making install in lib make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' Making install in common make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib/common' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests/lib' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/unit_tests' Making install in regression_tests make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' Making install in shapes make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' Making install in reference make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes/reference' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/shapes' Making install in vuln make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' Making install in input make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/input' Making install in reference make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln/reference' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[6]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests/vuln' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[5]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests/regression_tests' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[4]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0/tests' make[2]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[3]: Entering directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[3]: Nothing to be done for 'install-exec-am'. config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/man/man7' config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc' config/install-sh -c -d '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog NEWS cpl1.0.txt '/home/slitaz/wok/graphviz/install/usr/share/graphviz/doc' /usr/bin/install -c -m 644 ./graphviz_version.h '/home/slitaz/wok/graphviz/install/usr/include/graphviz' /usr/bin/install -c -m 644 graphviz.7 '/home/slitaz/wok/graphviz/install/usr/share/man/man7' make[3]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[2]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' make[1]: Leaving directory '/home/slitaz/wok/graphviz/source/graphviz-2.44.0' ================================================================================ Executing strip on all files... Done Time: 21.94s. Size: 11141707 B -> 10038131 B. Save: 1078 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 4.59s. Size: 334176 B -> 106289 B. Save: 223 KB. Cache hit: 48/48. Installing (pkg/local): pngquant-static-2.12.2-i486 Installing (pkg/local): optipng-static-0.7.7-i486 Compressing png images... Done Time: 4.90s. Size: 1308105 B -> 535101 B. Save: 755 KB. Cache hit: 50/50. Installing (pkg/local): gifsicle-1.92-i486 Compressing gif images... Done Time: 4.21s. Size: 129272 B -> 128179 B. Save: 1 KB. Cache hit: 110/110. ================================================================================ Build dependencies to remove: 152 Removing: advancecomp-static autoconf automake bzip2-dev cairo cairo-dev expat-dev font-misc-misc-base fontconfig fontconfig-dev freetype freetype-dev fribidi fribidi-dev gc gc-dev gdk-pixbuf gdk-pixbuf-dev giflib gifsicle glib glib-dev gmp-dev guile guile-dev harfbuzz harfbuzz-dev jpeg-turbo libcairo libcroco libcroco-dev libdb libfontenc libfontenc-dev libgd libgd-dev libgdbm libharfbuzz libice libice-dev libjpeg-turbo libjpeg-turbo-dev libltdl libpciaccess libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libpng libpng-dev libruby libsm libsm-dev libtiff libtool libunistring libwebp libwebp-dev libx11 libx11-dev libxau libxau-dev libxaw libxaw-dev libxcb libxcb-dev libxcomposite libxcomposite-dev libxcursor libxcursor-dev libxdamage libxdamage-dev libxdmcp libxdmcp-dev libxext libxext-dev libxfixes libxfixes-dev libxfont libxfont-dev libxft libxft-dev libxi libxi-dev libxinerama libxinerama-dev libxkbfile libxkbfile-dev libxml2 libxml2-dev libxml2-tools libxmu libxmu-dev libxpm libxpm-dev libxpm-util libxrandr libxrandr-dev libxrender libxrender-dev libxscrnsaver libxscrnsaver-dev libxt libxt-dev libxtst libxtst-dev libxxf86vm ocaml optipng-static pango pango-dev pango-typelib pcre pcre-apps pcre-dev perl perl-core perl-dev pixman pixman-dev pngquant-static python-dev ruby ruby-dev ruby-stdlib shared-mime-info shared-mime-info-dev swig tcl tcl-dev tiff tiff-dev tk tk-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev webp xauth xkbcomp xkeyboard-config xorg xorg-dev xorgproto xz-dev xz-tools zlib-dev Pack: graphviz-dev 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-dev-2.44.0-any.tazpkg" created Pack: graphviz-doc 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-doc-2.44.0-any.tazpkg" created Pack: graphviz-demo 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-demo-2.44.0-any.tazpkg" created Pack: graphviz-guile 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-guile-2.44.0-i486.tazpkg" created Pack: graphviz-ocaml 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-ocaml-2.44.0-i486.tazpkg" created Pack: graphviz-perl 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-perl-2.44.0-i486.tazpkg" created Pack: graphviz-python 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "graphviz-python-2.44.0-i486.tazpkg" created Pack: graphviz-ruby 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Failed ERROR: empty package Pack: graphviz-tcl 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "graphviz-tcl-2.44.0-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "graphviz-ruby-2.44.0-any.tazpkg graphviz-tcl-2.44.0-i486.tazpkg" created Pack: graphviz 2.44.0 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Copying "description.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "graphviz-2.44.0-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "graphviz-2.44.0-i486.tazpkg graphviz-ruby-2.44.0-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/graphviz-2.44.0... Done Checking site script in source/graphviz-2.44.0... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: graphviz 2.44.0 ================================================================================ Src file : graphviz-2.44.0.tar.gz Src size : 31.4M Source dir : 131.3M Produced : 15.4M Cook time : 355s ~ 05m 55s Cook date : 2020-09-12 12:53 Target arch : any, i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 296.0K : 34.6K : 58 : graphviz-dev-2.44.0-any.tazpkg 2 : 4.3M : 2.6M : 255 : graphviz-doc-2.44.0-any.tazpkg 3 : 216.0K : 25.1K : 24 : graphviz-demo-2.44.0-any.tazpkg 4 : 92.0K : 16.3K : 1 : graphviz-guile-2.44.0-i486.tazpkg 5 : 204.0K : 27.8K : 5 : graphviz-ocaml-2.44.0-i486.tazpkg 6 : 312.0K : 30.6K : 4 : graphviz-perl-2.44.0-i486.tazpkg 7 : 232.0K : 28.2K : 4 : graphviz-python-2.44.0-i486.tazpkg 8 : 3.2M : 568.2K : 20 : graphviz-tcl-2.44.0-i486.tazpkg 9 : 6.7M : 1.1M : 176 : graphviz-2.44.0-i486.tazpkg ================================================================================