=>> Building devel/dia2code build started at Fri Apr 5 04:04:57 BST 2024 port directory: /usr/ports/devel/dia2code package name: dia2code-0.8.8_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 618 Jan 25 05:29 /usr/ports/devel/dia2code/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 5bb1dbd628 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 05 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/dia2code/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/dia2code/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/dia2code/work/.cache HOME=/wrkdirs/usr/ports/devel/dia2code/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/dia2code/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/dia2code/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/dia2code/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/dia2code/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/dia2code/work/.cache HOME=/wrkdirs/usr/ports/devel/dia2code/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/dia2code/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/dia2code/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -DLIBICONV_PLUG" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dia2code" EXAMPLESDIR="share/examples/dia2code" DATADIR="share/dia2code" WWWDIR="www/dia2code" ETCDIR="etc/dia2code" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dia2code DOCSDIR=/usr/local/share/doc/dia2code EXAMPLESDIR=/usr/local/share/examples/dia2code WWWDIR=/usr/local/www/dia2code ETCDIR=/usr/local/etc/dia2code --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> dia2code-0.8.8_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> dia2code-0.8.8_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dia2code-0.8.8_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by dia2code-0.8.8_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by dia2code-0.8.8_3 for building => SHA256 Checksum OK for dia2code-0.8.8.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by dia2code-0.8.8_3 for building ===> Extracting for dia2code-0.8.8_3 => SHA256 Checksum OK for dia2code-0.8.8.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for dia2code-0.8.8_3 ===> Applying FreeBSD patches for dia2code-0.8.8_3 from /usr/ports/devel/dia2code/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> dia2code-0.8.8_3 depends on shared library: libxml2.so - not found ===> Installing existing package /packages/All/libxml2-2.11.7.pkg [pkg-builder.dan.net.uk] Installing libxml2-2.11.7... [pkg-builder.dan.net.uk] `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] Extracting libxml2-2.11.7: .......... done ===> dia2code-0.8.8_3 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> Returning to build of dia2code-0.8.8_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for dia2code-0.8.8_3 configure: loading site script /usr/ports/Templates/config.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... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 524288 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert amd64-portbld-freebsd13.2 file names to amd64-portbld-freebsd13.2 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd13.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd13.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking for ar... (cached) ar checking for xml2-config... /usr/local/bin/xml2-config checking for dlfcn.h... (cached) yes checking for dlopen in -ldl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dia2code/Makefile config.status: executing depfiles commands config.status: executing libtool commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for dia2code-0.8.8_3 cd . && /bin/sh ./config.status config.h config.status: creating config.h /usr/bin/make all-recursive Making all in dia2code cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-dia2code.o -MD -MP -MF .deps/dia2code-dia2code.Tpo -c -o dia2code-dia2code.o `test -f 'dia2code.c' || echo './'`dia2code.c dia2code.c:245:39: warning: comparison of array 'pkg->name' equal to a null pointer is always false [-Wtautological-pointer-compare] if (batch->buildtree == 0 || pkg->name == NULL) { ~~~~~^~~~ ~~~~ 1 warning generated. mv -f .deps/dia2code-dia2code.Tpo .deps/dia2code-dia2code.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-main.o -MD -MP -MF .deps/dia2code-main.Tpo -c -o dia2code-main.o `test -f 'main.c' || echo './'`main.c main.c:267:13: warning: implicit declaration of function 'debug_setlevel' is invalid in C99 [-Wimplicit-function-declaration] debug_setlevel( atoi( argv[i] ) ); ^ main.c:366:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (eq(cmd->name, name) == 0) ^ ~~ ./dia2code.h:291:13: note: expanded from macro 'eq' #define eq !strcmp ^ main.c:366:13: note: add parentheses after the '!' to evaluate the comparison first ./dia2code.h:291:13: note: expanded from macro 'eq' #define eq !strcmp ^ main.c:366:13: note: add parentheses around left hand side expression to silence this warning if (eq(cmd->name, name) == 0) ^ ( ) ./dia2code.h:291:13: note: expanded from macro 'eq' #define eq !strcmp ^ main.c:434:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. mv -f .deps/dia2code-main.Tpo .deps/dia2code-main.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-parse_diagram.o -MD -MP -MF .deps/dia2code-parse_diagram.Tpo -c -o dia2code-parse_diagram.o `test -f 'parse_diagram.c' || echo './'`parse_diagram.c parse_diagram.c:52:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sscanf(content, sscanfmt(), buffer) == 0) { ^~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:64:46: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); ^~~~~~~ parse_diagram.c:21:20: note: expanded from macro 'MIN' #define MIN(x, y) (x < y ? x : y) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ parse_diagram.c:64:46: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); ^~~~~~~ parse_diagram.c:21:28: note: expanded from macro 'MIN' #define MIN(x, y) (x < y ? x : y) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ parse_diagram.c:64:22: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); ^~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ parse_diagram.c:72:35: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = xmlGetProp(booleannode, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:73:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( val != NULL && eq(val, "true")) { ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:195:37: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nodename = xmlGetProp(node, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:196:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("name", nodename) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:198:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("value", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:202:32: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("type", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:208:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("comment", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:214:32: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("kind", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:215:57: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrval = xmlGetProp(node->xmlChildrenNode, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:216:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(attrval, "%c", &(tmp->kind)); ^~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:218:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("visibility", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:219:57: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrval = xmlGetProp(node->xmlChildrenNode, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:220:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(attrval, "%c", &(tmp->visibility)); ^~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:222:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("abstract", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:224:39: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("class_scope", nodename) || ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:225:39: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] eq("primary_key", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:228:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("query", nodename)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:252:37: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nodename = xmlGetProp(node, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:253:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("parameters", nodename) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:275:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(node->xmlChildrenNode->xmlChildrenNode->content, sscanfmt(), tmp->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:276:12: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(node->next->xmlChildrenNode->xmlChildrenNode->content, sscanfmt(), tmp->type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:373:33: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = xmlGetProp(attribute, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:374:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] token = strtok(val,","); ^~~ /usr/include/string.h:125:31: note: passing argument to parameter here char *strtok(char * __restrict, const char * __restrict); ^ parse_diagram.c:382:33: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = xmlGetProp(attribute, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:383:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf ( val, "%f", &(geom->width) ); ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:388:33: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = xmlGetProp(attribute, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:389:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf ( val, "%f", &(geom->height) ); ^~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:420:42: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrname = xmlGetProp(attribute, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:423:29: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("name", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:426:41: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "obj_pos", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:428:44: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "elem_width", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:430:45: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "elem_height", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:458:42: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrname = xmlGetProp(attribute, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:464:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("name", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:466:37: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "obj_pos", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:468:40: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "elem_width", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:470:41: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq ( "elem_height", attrname ) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:472:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("comment", attrname)) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:478:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("stereotype", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:484:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("abstract", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:486:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("attributes", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:488:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("operations", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:495:37: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("templates", attrname) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:514:26: warning: initializing 'xmlChar *' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *id = NULL, *name = ""; ^ ~~ parse_diagram.c:520:32: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("connections", attribute->name) ) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:521:57: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] id = xmlGetProp(attribute->xmlChildrenNode, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:523:46: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrname = xmlGetProp(attribute, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:524:49: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( attrname != NULL && eq("text", attrname) && attribute->xmlChildrenNode != NULL && ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:528:22: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = ""; ^ ~~ parse_diagram.c:534:37: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] implementator = find(classlist, id); ^~ parse_diagram.c:35:44: note: passing argument to parameter 'id' here umlclasslist find(umlclasslist list, char *id ) { ^ parse_diagram.c:536:57: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (implementator != NULL && name != NULL && strlen(name) > 2) { ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ parse_diagram.c:542:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(name, sscanfmt(), interface->key->name); ^~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:558:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(node->name,"object") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:577:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(next->name,"group") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:579:24: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ( eq(next->name,"group") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:587:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(next->name,"group") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:589:24: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ( eq(next->name,"group") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:594:17: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(next->name,"layer") ){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:622:47: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *objtype = xmlGetProp(object, "type"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:624:32: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("UML - Class", objtype) || eq("Database - Table", objtype)) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:624:67: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("UML - Class", objtype) || eq("Database - Table", objtype)) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:629:53: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *objid = xmlGetProp(object, "id"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:630:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(objid, "%79s", tmplist->key->id); ^~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:641:46: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("UML - LargePackage", objtype) || eq("UML - SmallPackage", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:641:83: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("UML - LargePackage", objtype) || eq("UML - SmallPackage", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:645:53: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *objid = xmlGetProp(object, "id"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:646:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(objid, "%79s", tmppcklist->key->id); ^~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ parse_diagram.c:673:47: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *objtype = xmlGetProp(object, "type"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:674:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("UML - Association", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:682:59: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *attrtype = xmlGetProp(attribute, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:686:42: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("direction", attrtype) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:687:62: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *tmptype = xmlGetProp(child, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:688:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(tmptype, "0") ) { ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:696:48: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq("assoc_type", attrtype) ) { ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:697:62: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *tmptype = xmlGetProp(child, "val"); ^~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:698:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(tmptype, "1") ) { ^~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:708:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(attrtype, "name") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:709:34: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = grandchild->content; ^ ~~~~~~~~~~~~~~~~~~~ parse_diagram.c:711:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "role_a") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:712:36: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name_a = grandchild->content; ^ ~~~~~~~~~~~~~~~~~~~ parse_diagram.c:714:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "role_b") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:715:36: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name_b = grandchild->content; ^ ~~~~~~~~~~~~~~~~~~~ parse_diagram.c:717:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "multipicity_a") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:718:44: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] multiplicity_a = grandchild->content; ^ ~~~~~~~~~~~~~~~~~~~ parse_diagram.c:720:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "multipicity_b") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:721:44: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] multiplicity_b = grandchild->content; ^ ~~~~~~~~~~~~~~~~~~~ parse_diagram.c:723:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "ends") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:724:37: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(child->name, "composite") ) { ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:728:75: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrtype = xmlGetProp(grandchild, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:729:49: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(attrtype, "role") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:730:52: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name_a = ggchild->xmlChildrenNode->content; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_diagram.c:732:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "multiplicity") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:733:60: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] multiplicity_a = ggchild->xmlChildrenNode->content; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_diagram.c:735:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "aggregate") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:743:54: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( child != NULL && eq(child->name, "composite") ) { ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:748:75: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] attrtype = xmlGetProp(grandchild, "name"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:749:49: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq(attrtype, "role") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:750:52: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name_b = ggchild->xmlChildrenNode->content; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_diagram.c:752:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "multiplicity") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:753:60: warning: assigning to 'char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] multiplicity_b = ggchild->xmlChildrenNode->content; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_diagram.c:755:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attrtype, "aggregate") ) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:766:30: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ( eq(attribute->name, "connections") ) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:767:67: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:768:73: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:779:63: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] associate(classlist, thisname, composite, end1, end2, multiplicity_a); ^~~~ parse_diagram.c:125:25: note: passing argument to parameter 'base' here char * base, char * aggregate, char *multiplicity) { ^ parse_diagram.c:779:69: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] associate(classlist, thisname, composite, end1, end2, multiplicity_a); ^~~~ parse_diagram.c:125:38: note: passing argument to parameter 'aggregate' here char * base, char * aggregate, char *multiplicity) { ^ parse_diagram.c:783:63: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] associate(classlist, thisname, composite, end2, end1, multiplicity_b); ^~~~ parse_diagram.c:125:25: note: passing argument to parameter 'base' here char * base, char * aggregate, char *multiplicity) { ^ parse_diagram.c:783:69: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] associate(classlist, thisname, composite, end2, end1, multiplicity_b); ^~~~ parse_diagram.c:125:38: note: passing argument to parameter 'aggregate' here char * base, char * aggregate, char *multiplicity) { ^ parse_diagram.c:789:44: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("UML - Dependency", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:792:40: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("connections", attribute->name) ) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:793:73: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end1 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:794:67: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end2 = xmlGetProp(attribute->xmlChildrenNode, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:795:44: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] make_depend(classlist, end1, end2); ^~~~ parse_diagram.c:134:51: note: passing argument to parameter 'dependent' here void make_depend ( umlclasslist classlist, char * dependent, char * dependee) { ^ parse_diagram.c:795:50: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] make_depend(classlist, end1, end2); ^~~~ parse_diagram.c:134:69: note: passing argument to parameter 'dependee' here void make_depend ( umlclasslist classlist, char * dependent, char * dependee) { ^ parse_diagram.c:801:42: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("UML - Realizes", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:804:40: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("connections", attribute->name) ) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:805:67: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:806:73: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:807:48: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] inherit_realize(classlist, end1, end2); ^~~~ parse_diagram.c:115:55: note: passing argument to parameter 'base' here void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { ^ parse_diagram.c:807:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] inherit_realize(classlist, end1, end2); ^~~~ parse_diagram.c:115:68: note: passing argument to parameter 'derived' here void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { ^ parse_diagram.c:813:44: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if ( eq("UML - Implements", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:825:47: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlChar *objtype = xmlGetProp(object, "type"); ^~~~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:826:41: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("UML - Generalization", objtype) ) { ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:829:40: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( eq("connections", attribute->name) ) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ parse_diagram.c:830:67: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:831:73: warning: passing 'char[3]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); ^~~~ /usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_diagram.c:832:48: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] inherit_realize(classlist, end1, end2); ^~~~ parse_diagram.c:115:55: note: passing argument to parameter 'base' here void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { ^ parse_diagram.c:832:54: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] inherit_realize(classlist, end1, end2); ^~~~ parse_diagram.c:115:68: note: passing argument to parameter 'derived' here void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { ^ 132 warnings generated. mv -f .deps/dia2code-parse_diagram.Tpo .deps/dia2code-parse_diagram.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-scan_tree.o -MD -MP -MF .deps/dia2code-scan_tree.Tpo -c -o dia2code-scan_tree.o `test -f 'scan_tree.c' || echo './'`scan_tree.c mv -f .deps/dia2code-scan_tree.Tpo .deps/dia2code-scan_tree.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_c.o -MD -MP -MF .deps/dia2code-generate_code_c.Tpo -c -o dia2code-generate_code_c.o `test -f 'generate_code_c.c' || echo './'`generate_code_c.c mv -f .deps/dia2code-generate_code_c.Tpo .deps/dia2code-generate_code_c.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_java.o -MD -MP -MF .deps/dia2code-generate_code_java.Tpo -c -o dia2code-generate_code_java.o `test -f 'generate_code_java.c' || echo './'`generate_code_java.c generate_code_java.c:94:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "generate attribute %s\n", attr->name ); ^ generate_code_java.c:114:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "generate method %s\n", ope->attr.name ); ^ 2 warnings generated. mv -f .deps/dia2code-generate_code_java.Tpo .deps/dia2code-generate_code_java.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_cpp.o -MD -MP -MF .deps/dia2code-generate_code_cpp.Tpo -c -o dia2code-generate_code_cpp.o `test -f 'generate_code_cpp.c' || echo './'`generate_code_cpp.c mv -f .deps/dia2code-generate_code_cpp.Tpo .deps/dia2code-generate_code_cpp.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_ada.o -MD -MP -MF .deps/dia2code-generate_code_ada.Tpo -c -o dia2code-generate_code_ada.o `test -f 'generate_code_ada.c' || echo './'`generate_code_ada.c mv -f .deps/dia2code-generate_code_ada.Tpo .deps/dia2code-generate_code_ada.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_sql.o -MD -MP -MF .deps/dia2code-generate_code_sql.Tpo -c -o dia2code-generate_code_sql.o `test -f 'generate_code_sql.c' || echo './'`generate_code_sql.c mv -f .deps/dia2code-generate_code_sql.Tpo .deps/dia2code-generate_code_sql.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_python.o -MD -MP -MF .deps/dia2code-generate_code_python.Tpo -c -o dia2code-generate_code_python.o `test -f 'generate_code_python.c' || echo './'`generate_code_python.c mv -f .deps/dia2code-generate_code_python.Tpo .deps/dia2code-generate_code_python.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_php.o -MD -MP -MF .deps/dia2code-generate_code_php.Tpo -c -o dia2code-generate_code_php.o `test -f 'generate_code_php.c' || echo './'`generate_code_php.c generate_code_php.c:73:13: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( 1, "warning: Can't open the license file.\n"); ^ generate_code_php.c:86:13: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( 4, "----------generating class %s", tmpname ); ^ 2 warnings generated. mv -f .deps/dia2code-generate_code_php.Tpo .deps/dia2code-generate_code_php.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_shp.o -MD -MP -MF .deps/dia2code-generate_code_shp.Tpo -c -o dia2code-generate_code_shp.o `test -f 'generate_code_shp.c' || echo './'`generate_code_shp.c mv -f .deps/dia2code-generate_code_shp.Tpo .deps/dia2code-generate_code_shp.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_idl.o -MD -MP -MF .deps/dia2code-generate_code_idl.Tpo -c -o dia2code-generate_code_idl.o `test -f 'generate_code_idl.c' || echo './'`generate_code_idl.c generate_code_idl.c:250:23: warning: comparison of array 'umla->key.name' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (umla->key.name != NULL && strlen (umla->key.name) > 0) { ~~~~~~~~~~^~~~ ~~~~ 1 warning generated. mv -f .deps/dia2code-generate_code_idl.Tpo .deps/dia2code-generate_code_idl.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_csharp.o -MD -MP -MF .deps/dia2code-generate_code_csharp.Tpo -c -o dia2code-generate_code_csharp.o `test -f 'generate_code_csharp.c' || echo './'`generate_code_csharp.c mv -f .deps/dia2code-generate_code_csharp.Tpo .deps/dia2code-generate_code_csharp.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_php_five.o -MD -MP -MF .deps/dia2code-generate_code_php_five.Tpo -c -o dia2code-generate_code_php_five.o `test -f 'generate_code_php_five.c' || echo './'`generate_code_php_five.c mv -f .deps/dia2code-generate_code_php_five.Tpo .deps/dia2code-generate_code_php_five.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_ruby.o -MD -MP -MF .deps/dia2code-generate_code_ruby.Tpo -c -o dia2code-generate_code_ruby.o `test -f 'generate_code_ruby.c' || echo './'`generate_code_ruby.c mv -f .deps/dia2code-generate_code_ruby.Tpo .deps/dia2code-generate_code_ruby.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-generate_code_as3.o -MD -MP -MF .deps/dia2code-generate_code_as3.Tpo -c -o dia2code-generate_code_as3.o `test -f 'generate_code_as3.c' || echo './'`generate_code_as3.c generate_code_as3.c:99:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "generate attribute %s\n", attr->name ); ^ generate_code_as3.c:119:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "generate method %s\n", ope->attr.name ); ^ 2 warnings generated. mv -f .deps/dia2code-generate_code_as3.Tpo .deps/dia2code-generate_code_as3.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-decls.o -MD -MP -MF .deps/dia2code-decls.Tpo -c -o dia2code-decls.o `test -f 'decls.c' || echo './'`decls.c mv -f .deps/dia2code-decls.Tpo .deps/dia2code-decls.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-includes.o -MD -MP -MF .deps/dia2code-includes.Tpo -c -o dia2code-includes.o `test -f 'includes.c' || echo './'`includes.c mv -f .deps/dia2code-includes.Tpo .deps/dia2code-includes.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-source_parser.o -MD -MP -MF .deps/dia2code-source_parser.Tpo -c -o dia2code-source_parser.o `test -f 'source_parser.c' || echo './'`source_parser.c source_parser.c:29:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( 4, "preserve_source(filename=%s)", filename); ^ source_parser.c:73:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "sourceblock_new( spos=%p, len=%ld, oid=%s, type=%d )", spos,len,oid,type ); ^ source_parser.c:91:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "sourceblocklist_add( list=%p, blk=%p )", list,blk ); ^ source_parser.c:108:9: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "list should not be null in sourceblock_find" ); ^ source_parser.c:112:9: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE,"oid should not be null in sourceblock_find\n" ); ^ source_parser.c:127:34: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] char *tokens[] = { "*/", "{",'\0' }; // we mut find this successfully these tags to isolate the funtion/method source ^~~~ source_parser.c:135:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "source_parse( sourcebuffer=%p )\n", sourcebuffer ); ^ source_parser.c:244:5: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug( DBG_GENCODE, "find_matching_char. openc=%c closec=%c oid=%s maxcars=%d", openc, closec, oid, maxcars ); ^ 8 warnings generated. mv -f .deps/dia2code-source_parser.Tpo .deps/dia2code-source_parser.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxml2 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT dia2code-comment_helper.o -MD -MP -MF .deps/dia2code-comment_helper.Tpo -c -o dia2code-comment_helper.o `test -f 'comment_helper.c' || echo './'`comment_helper.c mv -f .deps/dia2code-comment_helper.Tpo .deps/dia2code-comment_helper.Po /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -rdynamic -o dia2code dia2code-dia2code.o dia2code-main.o dia2code-parse_diagram.o dia2code-scan_tree.o dia2code-generate_code_c.o dia2code-generate_code_java.o dia2code-generate_code_cpp.o dia2code-generate_code_ada.o dia2code-generate_code_sql.o dia2code-generate_code_python.o dia2code-generate_code_php.o dia2code-generate_code_shp.o dia2code-generate_code_idl.o dia2code-generate_code_csharp.o dia2code-generate_code_php_five.o dia2code-generate_code_ruby.o dia2code-generate_code_as3.o dia2code-decls.o dia2code-includes.o dia2code-source_parser.o dia2code-comment_helper.o -L/usr/local/lib -lxml2 -L/usr/lib -lz -L/usr/lib -llzma -lpthread -lm -ldl -ldl libtool: link: cc -I/usr/local/include/libxml2 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -rdynamic -o dia2code dia2code-dia2code.o dia2code-main.o dia2code-parse_diagram.o dia2code-scan_tree.o dia2code-generate_code_c.o dia2code-generate_code_java.o dia2code-generate_code_cpp.o dia2code-generate_code_ada.o dia2code-generate_code_sql.o dia2code-generate_code_python.o dia2code-generate_code_php.o dia2code-generate_code_shp.o dia2code-generate_code_idl.o dia2code-generate_code_csharp.o dia2code-generate_code_php_five.o dia2code-generate_code_ruby.o dia2code-generate_code_as3.o dia2code-decls.o dia2code-includes.o dia2code-source_parser.o dia2code-comment_helper.o -L/usr/local/lib -lxml2 -L/usr/lib -lz -llzma -lpthread -lm -ldl cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for dia2code-0.8.8_3 ===> Generating temporary packing list Making install in dia2code /bin/mkdir -p '/wrkdirs/usr/ports/devel/dia2code/work/stage/usr/local/bin' /bin/sh ../libtool --mode=install install -s -m 555 dia2code '/wrkdirs/usr/ports/devel/dia2code/work/stage/usr/local/bin' libtool: install: install -m 555 -s dia2code /wrkdirs/usr/ports/devel/dia2code/work/stage/usr/local/bin/dia2code cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged install -m 444 /wrkdirs/usr/ports/devel/dia2code/work/dia2code-0.8.8/dia2code.1 /wrkdirs/usr/ports/devel/dia2code/work/stage/usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T03:04:57+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=5bb1dbd628' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for dia2code-0.8.8_3 ===> Building dia2code-0.8.8_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for dia2code-0.8.8_3 build of devel/dia2code | dia2code-0.8.8_3 ended at Fri Apr 5 04:05:14 BST 2024 build time: 00:00:18