<86>Jun 16 01:13:06 userdel[953973]: delete user 'rooter' <86>Jun 16 01:13:06 userdel[953973]: removed group 'rooter' owned by 'rooter' <86>Jun 16 01:13:06 userdel[953973]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 01:13:06 groupadd[953993]: group added to /etc/group: name=rooter, GID=1259 <86>Jun 16 01:13:06 groupadd[953993]: group added to /etc/gshadow: name=rooter <86>Jun 16 01:13:06 groupadd[953993]: new group: name=rooter, GID=1259 <86>Jun 16 01:13:06 useradd[954006]: new user: name=rooter, UID=1259, GID=1259, home=/root, shell=/bin/bash <86>Jun 16 01:13:06 userdel[954024]: delete user 'builder' <86>Jun 16 01:13:06 userdel[954024]: removed group 'builder' owned by 'builder' <86>Jun 16 01:13:06 userdel[954024]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 01:13:06 groupadd[954040]: group added to /etc/group: name=builder, GID=1260 <86>Jun 16 01:13:06 groupadd[954040]: group added to /etc/gshadow: name=builder <86>Jun 16 01:13:06 groupadd[954040]: new group: name=builder, GID=1260 <86>Jun 16 01:13:06 useradd[954051]: new user: name=builder, UID=1260, GID=1260, home=/usr/src, shell=/bin/bash <13>Jun 16 01:13:10 rpmi: libxml2-devel-1:2.9.12-alt1.p10.1 p10+314068.100.3.1 1675354348 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/dia2code-0.8.8-alt2.nosrc.rpm (w1.gzdio) Installing dia2code-0.8.8-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76647 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dia2code-0.8.8 + echo 'Source #0 (dia2code-0.8.8.tar.gz):' Source #0 (dia2code-0.8.8.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/dia2code-0.8.8.tar.gz + /bin/tar -xf - + cd dia2code-0.8.8 + echo 'Source #1 (examples-0.8.8.tar.gz):' Source #1 (examples-0.8.8.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/examples-0.8.8.tar.gz + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (dia2code-0.8.8-gcc-10.patch):' Patch #1 (dia2code-0.8.8-gcc-10.patch): + /usr/bin/patch -p2 patching file dia2code/dia2code.c patching file dia2code/dia2code.h + sed -i s@/usr/local/bin@/usr/bin@ dia2code.kaptn + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.76647 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dia2code-0.8.8 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 aclocal-default: warning: couldn't open directory 'm4': No such file or directory autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'. libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'. libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' libtoolize-default: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:11: installing './compile' configure.ac:8: installing './missing' dia2code/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for x86_64-alt-linux-ar... ar checking for xml2-config... /usr/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 configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8' cd . && /bin/sh ./config.status config.h config.status: creating config.h make: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8' make all-recursive Making all in dia2code make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_java.o `test -f 'generate_code_java.c' || echo './'`generate_code_java.c generate_code_java.c: In function 'java_generate_attribute': generate_code_java.c:94:5: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] 94 | debug( DBG_GENCODE, "generate attribute %s\n", attr->name ); | ^~~~~ generate_code_java.c: In function 'generate_code_java': generate_code_java.c:166:9: warning: unused variable 'file_found' [-Wunused-variable] 166 | int file_found = 0; | ^~~~~~~~~~ generate_code_java.c:165:22: warning: unused variable 'dummyfile' [-Wunused-variable] 165 | FILE * outfile, *dummyfile, *licensefile = NULL; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_c.o `test -f 'generate_code_c.c' || echo './'`generate_code_c.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-scan_tree.o `test -f 'scan_tree.c' || echo './'`scan_tree.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:266:13: warning: implicit declaration of function 'debug_setlevel' [-Wimplicit-function-declaration] 266 | debug_setlevel( atoi( argv[i] ) ); | ^~~~~~~~~~~~~~ main.c: In function 'process_initialization_file': main.c:427:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 427 | if (f == NULL) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_python.o `test -f 'generate_code_python.c' || echo './'`generate_code_python.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_shp.o `test -f 'generate_code_shp.c' || echo './'`generate_code_shp.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_php.o `test -f 'generate_code_php.c' || echo './'`generate_code_php.c generate_code_php.c: In function 'generate_code_php': generate_code_php.c:73:13: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] 73 | debug( 1, "warning: Can't open the license file.\n"); | ^~~~~ generate_code_php.c:239:36: warning: unused variable 'dummycp' [-Wunused-variable] 239 | char *diaoid, *dummycp; | ^~~~~~~ generate_code_php.c:239:27: warning: unused variable 'diaoid' [-Wunused-variable] 239 | char *diaoid, *dummycp; | ^~~~~~ generate_code_php.c:80:15: warning: unused variable 'sourcebuffer' [-Wunused-variable] 80 | char *sourcebuffer = NULL; | ^~~~~~~~~~~~ generate_code_php.c:57:18: warning: unused variable 'srcblock' [-Wunused-variable] 57 | sourceblock *srcblock; | ^~~~~~~~ generate_code_php.c:56:22: warning: variable 'sbklist' set but not used [-Wunused-but-set-variable] 56 | sourceblocknode *sbklist = NULL; | ^~~~~~~ generate_code_php.c:49:29: warning: unused variable 'parama' [-Wunused-variable] 49 | umlattrlist umla, tmpa, parama; | ^~~~~~ generate_code_php.c:107:13: warning: 'source' may be used uninitialized in this function [-Wmaybe-uninitialized] 107 | source_preserve( b, tmplist->key, outfilename, source ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_sql.o `test -f 'generate_code_sql.c' || echo './'`generate_code_sql.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_cpp.o `test -f 'generate_code_cpp.c' || echo './'`generate_code_cpp.c generate_code_cpp.c:98:1: warning: 'has_oo_class' defined but not used [-Wunused-function] 98 | has_oo_class (declaration *d) | ^~~~~~~~~~~~ generate_code_cpp.c:56:1: warning: 'nospc' defined but not used [-Wunused-function] 56 | nospc (char *str) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_idl.o `test -f 'generate_code_idl.c' || echo './'`generate_code_idl.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-dia2code.o `test -f 'dia2code.c' || echo './'`dia2code.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_csharp.o `test -f 'generate_code_csharp.c' || echo './'`generate_code_csharp.c generate_code_csharp.c: In function 'generate_code_csharp': generate_code_csharp.c:62:34: warning: '.cs' directive writing 3 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 62 | sprintf (outfilename, "%s.cs", tmplist->key->name); | ^~~ In file included from /usr/include/stdio.h:866, from dia2code.h:24, from generate_code_csharp.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 83 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_ada.o `test -f 'generate_code_ada.c' || echo './'`generate_code_ada.c generate_code_ada.c: In function 'gen_class': generate_code_ada.c:284:33: warning: '.Object' directive writing 7 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 284 | sprintf (parentname, "%s.Object", parent->key->name); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from dia2code.h:24, from generate_code_ada.c:20: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 8 and 87 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_php_five.o `test -f 'generate_code_php_five.c' || echo './'`generate_code_php_five.c generate_code_php_five.c: In function 'd2c_php_print_func_comments': generate_code_php_five.c:88:11: warning: unused variable 'tmpname' [-Wunused-variable] 88 | char *tmpname; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-decls.o `test -f 'decls.c' || echo './'`decls.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-source_parser.o `test -f 'source_parser.c' || echo './'`source_parser.c source_parser.c: In function 'source_preserve': source_parser.c:29:5: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] 29 | debug( 4, "preserve_source(filename=%s)", filename); | ^~~~~ source_parser.c: In function 'sourceblock_find': source_parser.c:105:18: warning: unused variable 'blk' [-Wunused-variable] 105 | sourceblock *blk = NULL; | ^~~ source_parser.c: In function 'source_loadfromfile': source_parser.c:192:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | read( fi, buf, sz ); | ^~~~~~~~~~~~~~~~~~~ source_parser.c: In function 'find_matching_char': source_parser.c:260:17: warning: 'startpos' may be used uninitialized in this function [-Wmaybe-uninitialized] 260 | debug( 7, "sourceblock returned: spos=%p len=%ld oid=%s", srcbk->spos, srcbk->len, srcbk->oid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-comment_helper.o `test -f 'comment_helper.c' || echo './'`comment_helper.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_ruby.o `test -f 'generate_code_ruby.c' || echo './'`generate_code_ruby.c generate_code_ruby.c: In function 'generate_code_ruby': generate_code_ruby.c:149:25: warning: unused variable 'packcounter' [-Wunused-variable] 149 | int packcounter = 0; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-includes.o `test -f 'includes.c' || echo './'`includes.c make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-generate_code_as3.o `test -f 'generate_code_as3.c' || echo './'`generate_code_as3.c generate_code_as3.c: In function 'as3_generate_attribute': generate_code_as3.c:99:5: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] 99 | debug( DBG_GENCODE, "generate attribute %s\n", attr->name ); | ^~~~~ generate_code_as3.c: In function 'generate_code_as3': generate_code_as3.c:173:9: warning: unused variable 'file_found' [-Wunused-variable] 173 | int file_found = 0; | ^~~~~~~~~~ generate_code_as3.c:172:22: warning: unused variable 'dummyfile' [-Wunused-variable] 172 | FILE * outfile, *dummyfile, *licensefile = NULL; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dia2code-parse_diagram.o `test -f 'parse_diagram.c' || echo './'`parse_diagram.c parse_diagram.c: In function 'parse_dia_string': parse_diagram.c:52:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 52 | if (sscanf(content, sscanfmt(), buffer) == 0) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'parse_dia_string_large': parse_diagram.c:64:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 64 | strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); | ^~~~~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:21:20: note: in definition of macro 'MIN' 21 | #define MIN(x, y) (x < y ? x : y) | ^ In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parse_diagram.c:64:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 64 | strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); | ^~~~~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:21:28: note: in definition of macro 'MIN' 21 | #define MIN(x, y) (x < y ? x : y) | ^ In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parse_diagram.c:64:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 64 | strncpy (buffer, content + 1, MIN(strlen(content) - 2, LARGE_BUFFER - 1)); | ~~~~~~~~^~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ parse_diagram.c:61:10: warning: unused variable 'fmt' [-Wunused-variable] 61 | char fmt[16]; | ^~~ parse_diagram.c: In function 'parse_boolean': parse_diagram.c:72:35: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 72 | val = xmlGetProp(booleannode, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:73:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 73 | if ( val != NULL && eq(val, "true")) { | ^~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'parse_attribute': parse_diagram.c:195:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 195 | nodename = xmlGetProp(node, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:196:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 196 | if ( eq("name", nodename) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:198:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | } else if ( eq("value", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:202:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 202 | } else if ( eq("type", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:208:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 208 | } else if ( eq("comment", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:214:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | } else if ( eq("kind", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:215:57: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 215 | attrval = xmlGetProp(node->xmlChildrenNode, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:216:20: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 216 | sscanf(attrval, "%c", &(tmp->kind)); | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c:218:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 218 | } else if ( eq("visibility", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:219:57: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 219 | attrval = xmlGetProp(node->xmlChildrenNode, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:220:20: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 220 | sscanf(attrval, "%c", &(tmp->visibility)); | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c:222:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 222 | } else if ( eq("abstract", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:224:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 224 | } else if ( eq("class_scope", nodename) || | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:225:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 225 | eq("primary_key", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:228:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 228 | } else if ( eq("query", nodename)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'parse_operation': parse_diagram.c:252:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 252 | nodename = xmlGetProp(node, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:253:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 253 | if ( eq("parameters", nodename) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'parse_template': parse_diagram.c:275:50: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 275 | sscanf(node->xmlChildrenNode->xmlChildrenNode->content, sscanfmt(), tmp->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c:276:56: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 276 | sscanf(node->next->xmlChildrenNode->xmlChildrenNode->content, sscanfmt(), tmp->type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'parse_geom_position': parse_diagram.c:373:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 373 | val = xmlGetProp(attribute, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:374:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 374 | token = strtok(val,","); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'parse_geom_width': parse_diagram.c:382:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 382 | val = xmlGetProp(attribute, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:383:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 383 | sscanf ( val, "%f", &(geom->width) ); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'parse_geom_height': parse_diagram.c:388:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 388 | val = xmlGetProp(attribute, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:389:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 389 | sscanf ( val, "%f", &(geom->height) ); | ^~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'parse_package': parse_diagram.c:420:42: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 420 | attrname = xmlGetProp(attribute, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:423:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 423 | if ( eq("name", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:426:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 426 | } else if ( eq ( "obj_pos", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:428:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 428 | } else if ( eq ( "elem_width", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:430:45: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 430 | } else if ( eq ( "elem_height", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'parse_class': parse_diagram.c:458:42: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 458 | attrname = xmlGetProp(attribute, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:464:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 464 | if ( eq("name", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:466:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 466 | } else if ( eq ( "obj_pos", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:468:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 468 | } else if ( eq ( "elem_width", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:470:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 470 | } else if ( eq ( "elem_height", attrname ) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:472:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 472 | } else if ( eq("comment", attrname)) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:478:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 478 | } else if ( eq("stereotype", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:484:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 484 | } else if ( eq("abstract", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:486:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 486 | } else if ( eq("attributes", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:488:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 488 | } else if ( eq("operations", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:495:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 495 | } else if ( eq("templates", attrname) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'lolipop_implementation': parse_diagram.c:514:33: warning: pointer targets in initialization of 'xmlChar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 514 | xmlChar *id = NULL, *name = ""; | ^~ parse_diagram.c:520:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 520 | if ( eq("connections", attribute->name) ) { | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:521:57: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 521 | id = xmlGetProp(attribute->xmlChildrenNode, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:523:46: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 523 | attrname = xmlGetProp(attribute, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:524:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 524 | if ( attrname != NULL && eq("text", attrname) && attribute->xmlChildrenNode != NULL && | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:528:22: warning: pointer targets in assignment from 'char *' to 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 528 | name = ""; | ^ parse_diagram.c:534:37: warning: pointer targets in passing argument 2 of 'find' differ in signedness [-Wpointer-sign] 534 | implementator = find(classlist, id); | ^~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:35:44: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 35 | umlclasslist find(umlclasslist list, char *id ) { | ~~~~~~^~ parse_diagram.c:536:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 536 | if (implementator != NULL && name != NULL && strlen(name) > 2) { | ^~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parse_diagram.c:542:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 542 | sscanf(name, sscanfmt(), interface->key->name); | ^~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c: In function 'recursive_search': parse_diagram.c:558:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 558 | if ( eq(node->name,"object") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'getNextObject': parse_diagram.c:577:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 577 | if ( eq(next->name,"group") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:579:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 579 | while ( eq(next->name,"group") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:587:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 587 | if ( eq(next->name,"group") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:589:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 589 | while ( eq(next->name,"group") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:594:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 594 | if ( eq(next->name,"layer") ){ | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c: In function 'parse_diagram': parse_diagram.c:622:47: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 622 | xmlChar *objtype = xmlGetProp(object, "type"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:624:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 624 | if ( eq("UML - Class", objtype) || eq("Database - Table", objtype)) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:624:67: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 624 | if ( eq("UML - Class", objtype) || eq("Database - Table", objtype)) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:629:53: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 629 | xmlChar *objid = xmlGetProp(object, "id"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:630:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 630 | sscanf(objid, "%79s", tmplist->key->id); | ^~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c:641:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 641 | } else if ( eq("UML - LargePackage", objtype) || eq("UML - SmallPackage", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:641:83: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 641 | } else if ( eq("UML - LargePackage", objtype) || eq("UML - SmallPackage", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:645:53: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 645 | xmlChar *objid = xmlGetProp(object, "id"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:646:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 646 | sscanf(objid, "%79s", tmppcklist->key->id); | ^~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:24, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ parse_diagram.c:673:47: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 673 | xmlChar *objtype = xmlGetProp(object, "type"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:674:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 674 | if ( eq("UML - Association", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:682:59: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 682 | xmlChar *attrtype = xmlGetProp(attribute, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:686:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 686 | if ( eq("direction", attrtype) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:687:62: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 687 | xmlChar *tmptype = xmlGetProp(child, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:688:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 688 | if ( eq(tmptype, "0") ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:696:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 696 | else if ( eq("assoc_type", attrtype) ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:697:62: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 697 | xmlChar *tmptype = xmlGetProp(child, "val"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:698:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 698 | if ( eq(tmptype, "1") ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:708:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 708 | if ( eq(attrtype, "name") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:709:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 709 | name = grandchild->content; | ^ parse_diagram.c:711:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 711 | else if ( eq(attrtype, "role_a") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:712:36: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 712 | name_a = grandchild->content; | ^ parse_diagram.c:714:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 714 | else if ( eq(attrtype, "role_b") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:715:36: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 715 | name_b = grandchild->content; | ^ parse_diagram.c:717:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 717 | else if ( eq(attrtype, "multipicity_a") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:718:44: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 718 | multiplicity_a = grandchild->content; | ^ parse_diagram.c:720:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 720 | else if ( eq(attrtype, "multipicity_b") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:721:44: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 721 | multiplicity_b = grandchild->content; | ^ parse_diagram.c:723:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 723 | else if ( eq(attrtype, "ends") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:724:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 724 | if ( eq(child->name, "composite") ) { | ~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:728:75: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 728 | attrtype = xmlGetProp(grandchild, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:729:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 729 | if ( eq(attrtype, "role") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:730:52: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 730 | name_a = ggchild->xmlChildrenNode->content; | ^ parse_diagram.c:732:54: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 732 | else if ( eq(attrtype, "multiplicity") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:733:60: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 733 | multiplicity_a = ggchild->xmlChildrenNode->content; | ^ parse_diagram.c:735:54: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 735 | else if ( eq(attrtype, "aggregate") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:743:59: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 743 | if ( child != NULL && eq(child->name, "composite") ) { | ~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:748:75: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 748 | attrtype = xmlGetProp(grandchild, "name"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:749:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 749 | if ( eq(attrtype, "role") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:750:52: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 750 | name_b = ggchild->xmlChildrenNode->content; | ^ parse_diagram.c:752:54: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 752 | else if ( eq(attrtype, "multiplicity") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:753:60: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 753 | multiplicity_b = ggchild->xmlChildrenNode->content; | ^ parse_diagram.c:755:54: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 755 | else if ( eq(attrtype, "aggregate") ) { | ^~~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:766:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 766 | else if ( eq(attribute->name, "connections") ) { | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:767:67: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 767 | end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:768:73: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 768 | end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:779:63: warning: pointer targets in passing argument 4 of 'associate' differ in signedness [-Wpointer-sign] 779 | associate(classlist, thisname, composite, end1, end2, multiplicity_a); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:125:25: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 125 | char * base, char * aggregate, char *multiplicity) { | ~~~~~~~^~~~ parse_diagram.c:779:69: warning: pointer targets in passing argument 5 of 'associate' differ in signedness [-Wpointer-sign] 779 | associate(classlist, thisname, composite, end1, end2, multiplicity_a); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:125:38: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 125 | char * base, char * aggregate, char *multiplicity) { | ~~~~~~~^~~~~~~~~ parse_diagram.c:783:63: warning: pointer targets in passing argument 4 of 'associate' differ in signedness [-Wpointer-sign] 783 | associate(classlist, thisname, composite, end2, end1, multiplicity_b); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:125:25: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 125 | char * base, char * aggregate, char *multiplicity) { | ~~~~~~~^~~~ parse_diagram.c:783:69: warning: pointer targets in passing argument 5 of 'associate' differ in signedness [-Wpointer-sign] 783 | associate(classlist, thisname, composite, end2, end1, multiplicity_b); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:125:38: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 125 | char * base, char * aggregate, char *multiplicity) { | ~~~~~~~^~~~~~~~~ parse_diagram.c:789:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 789 | } else if ( eq("UML - Dependency", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:792:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 792 | if ( eq("connections", attribute->name) ) { | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:793:73: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 793 | end1 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:794:67: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 794 | end2 = xmlGetProp(attribute->xmlChildrenNode, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:795:44: warning: pointer targets in passing argument 2 of 'make_depend' differ in signedness [-Wpointer-sign] 795 | make_depend(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:134:51: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 134 | void make_depend ( umlclasslist classlist, char * dependent, char * dependee) { | ~~~~~~~^~~~~~~~~ parse_diagram.c:795:50: warning: pointer targets in passing argument 3 of 'make_depend' differ in signedness [-Wpointer-sign] 795 | make_depend(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:134:69: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 134 | void make_depend ( umlclasslist classlist, char * dependent, char * dependee) { | ~~~~~~~^~~~~~~~ parse_diagram.c:801:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 801 | } else if ( eq("UML - Realizes", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:804:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 804 | if ( eq("connections", attribute->name) ) { | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:805:67: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 805 | end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:806:73: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 806 | end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:807:48: warning: pointer targets in passing argument 2 of 'inherit_realize' differ in signedness [-Wpointer-sign] 807 | inherit_realize(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:115:55: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 115 | void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { | ~~~~~~~^~~~ parse_diagram.c:807:54: warning: pointer targets in passing argument 3 of 'inherit_realize' differ in signedness [-Wpointer-sign] 807 | inherit_realize(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:115:68: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 115 | void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { | ~~~~~~~^~~~~~~ parse_diagram.c:813:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 813 | } else if ( eq("UML - Implements", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:825:47: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 825 | xmlChar *objtype = xmlGetProp(object, "type"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:826:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 826 | if ( eq("UML - Generalization", objtype) ) { | ^~~~~~~ | | | xmlChar * {aka unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:829:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 829 | if ( eq("connections", attribute->name) ) { | ~~~~~~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ parse_diagram.c:830:67: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 830 | end1 = xmlGetProp(attribute->xmlChildrenNode, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:831:73: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 831 | end2 = xmlGetProp(attribute->xmlChildrenNode->next, "to"); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from dia2code.h:32, from parse_diagram.h:18, from parse_diagram.c:18: /usr/include/libxml2/libxml/tree.h:1030:22: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1030 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ parse_diagram.c:832:48: warning: pointer targets in passing argument 2 of 'inherit_realize' differ in signedness [-Wpointer-sign] 832 | inherit_realize(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:115:55: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 115 | void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { | ~~~~~~~^~~~ parse_diagram.c:832:54: warning: pointer targets in passing argument 3 of 'inherit_realize' differ in signedness [-Wpointer-sign] 832 | inherit_realize(classlist, end1, end2); | ^~~~ | | | xmlChar * {aka unsigned char *} parse_diagram.c:115:68: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 115 | void inherit_realize ( umlclasslist classlist, char * base, char * derived ) { | ~~~~~~~^~~~~~~ At top level: parse_diagram.c:26:17: warning: 'anon_cnt' defined but not used [-Wunused-variable] 26 | static unsigned anon_cnt = 0; | ^~~~~~~~ In file included from /usr/include/string.h:532, from dia2code.h:22, from parse_diagram.h:18, from parse_diagram.c:18: In function 'strncpy', inlined from 'make_javabean_methods' at parse_diagram.c:361:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -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 -lxml2 -ldl libtool: link: x86_64-alt-linux-gcc -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -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 -lxml2 -ldl make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8' cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.32595 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/dia2code-buildroot + : + /bin/rm -rf -- /usr/src/tmp/dia2code-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd dia2code-0.8.8 + /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/install -p' prefix=/usr/src/tmp/dia2code-buildroot/usr exec_prefix=/usr/src/tmp/dia2code-buildroot/usr bindir=/usr/src/tmp/dia2code-buildroot/usr/bin sbindir=/usr/src/tmp/dia2code-buildroot/usr/sbin sysconfdir=/usr/src/tmp/dia2code-buildroot/etc datadir=/usr/src/tmp/dia2code-buildroot/usr/share includedir=/usr/src/tmp/dia2code-buildroot/usr/include libdir=/usr/src/tmp/dia2code-buildroot/usr/lib64 libexecdir=/usr/src/tmp/dia2code-buildroot/usr/lib localstatedir=/usr/src/tmp/dia2code-buildroot/var/lib sharedstatedir=/usr/src/tmp/dia2code-buildroot/var/lib mandir=/usr/src/tmp/dia2code-buildroot/usr/share/man infodir=/usr/src/tmp/dia2code-buildroot/usr/share/info install make: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8' Making install in dia2code make[1]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' /bin/mkdir -p '/usr/src/tmp/dia2code-buildroot/usr/bin' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p dia2code '/usr/src/tmp/dia2code-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p dia2code /usr/src/tmp/dia2code-buildroot/usr/bin/dia2code make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[1]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[1]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8' cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make[2]: Entering directory '/usr/src/RPM/BUILD/dia2code-0.8.8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8' make[1]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8' make: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8' + install -D dia2code.1 /usr/src/tmp/dia2code-buildroot/usr/share/man/man1/dia2code.1 + install -D dia2code.kaptn /usr/src/tmp/dia2code-buildroot/usr/share/kaptain/dia2code.kaptn + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/dia2code-buildroot (auto) Verifying and fixing files in /usr/src/tmp/dia2code-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/dia2code-buildroot/ (default) Compressing files in /usr/src/tmp/dia2code-buildroot (auto) mode of '/usr/src/tmp/dia2code-buildroot/usr/share/man/man1/dia2code.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying ELF objects in /usr/src/tmp/dia2code-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: dia2code-0.8.8-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.32595 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dia2code-0.8.8 + DOCDIR=/usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + export DOCDIR + rm -rf /usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + /bin/mkdir -p /usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + cp -prL README AUTHORS examples-0.8.8/code examples-0.8.8/diagrams examples-0.8.8/examples.html examples-0.8.8/images /usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + chmod -R go-w /usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + chmod -R a+rX /usr/src/tmp/dia2code-buildroot/usr/share/doc/dia2code-0.8.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.htjtn8 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HCQwS7 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req: /usr/src/tmp/dia2code-buildroot/usr/share/kaptain/dia2code.kaptn: /usr/bin/kaptain -> /usr/bin/kaptain (raw, not installed) Requires: /lib64/ld-linux-x86-64.so.2, /usr/bin/kaptain, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libxml2.so.2()(64bit) >= set:ol5mL7lOSqwRZ8fd1B7, libxml2.so.2(LIBXML2_2.4.30)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bO5oy9 Creating dia2code-debuginfo package Processing files: dia2code-debuginfo-0.8.8-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YDogta find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TlzwR7 find-requires: running scripts (debuginfo) Requires: dia2code = 0.8.8-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libxml2.so.2) Adding to dia2code-debuginfo a strict dependency on dia2code Wrote: /usr/src/RPM/RPMS/x86_64/dia2code-0.8.8-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/dia2code-debuginfo-0.8.8-alt2.x86_64.rpm (w2.lzdio) 8.15user 3.40system 0:13.68elapsed 84%CPU (0avgtext+0avgdata 37888maxresident)k 0inputs+0outputs (0major+874110minor)pagefaults 0swaps 4.67user 1.82system 0:22.66elapsed 28%CPU (0avgtext+0avgdata 128572maxresident)k 0inputs+0outputs (0major+193554minor)pagefaults 0swaps --- dia2code-0.8.8-alt2.x86_64.rpm.repo 2021-03-29 09:57:42.000000000 +0000 +++ dia2code-0.8.8-alt2.x86_64.rpm.hasher 2024-06-16 01:13:26.680899166 +0000 @@ -57,3 +57,3 @@ Provides: dia2code = 0.8.8-alt2:sisyphus+268445.200.2.1 -File: /usr/bin/dia2code 100755 root:root a9acd1c15e5df9d2ca4564ec9b82e23b +File: /usr/bin/dia2code 100755 root:root b979acd6a5f51b13fa79a130eaadfb40 File: /usr/share/doc/dia2code-0.8.8 40755 root:root @@ -100,2 +100,2 @@ File: /usr/share/man/man1/dia2code.1.xz 100644 root:root b1b3d246ceea73076e035bff7afade00 -RPMIdentity: 6825a14029033d7f6186052bdc2baa4b6c611e06af6b37ba58d7b1fec1746c06cbfcda649b48d7b8fd29e2b76aca9a17b46f53851b20a6d05f0685d7c25e229d +RPMIdentity: 7cab8884fbbf7f4e0db1326885fb04a85c9a59f231e9c0f75c5dcc89db7ffe552eca734b9a676e6a2b0f887fc24eef9edb679071781383aa9f6c0b80e4076b1a --- dia2code-debuginfo-0.8.8-alt2.x86_64.rpm.repo 2021-03-29 09:57:42.000000000 +0000 +++ dia2code-debuginfo-0.8.8-alt2.x86_64.rpm.hasher 2024-06-16 01:13:26.757899522 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/cd 40755 root:root -/usr/lib/debug/.build-id/cd/a98b0fa9d8057ee9f3ff5780c65cc9f2f111c2 120777 root:root ../../../../bin/dia2code -/usr/lib/debug/.build-id/cd/a98b0fa9d8057ee9f3ff5780c65cc9f2f111c2.debug 120777 root:root ../../usr/bin/dia2code.debug +/usr/lib/debug/.build-id/2c 40755 root:root +/usr/lib/debug/.build-id/2c/8fade5cdb1391cec5c1ba63ba43878f879eb18 120777 root:root ../../../../bin/dia2code +/usr/lib/debug/.build-id/2c/8fade5cdb1391cec5c1ba63ba43878f879eb18.debug 120777 root:root ../../usr/bin/dia2code.debug /usr/lib/debug/usr/bin/dia2code.debug 100644 root:root @@ -39,6 +39,6 @@ Provides: dia2code-debuginfo = 0.8.8-alt2:sisyphus+268445.200.2.1 -File: /usr/lib/debug/.build-id/cd 40755 root:root -File: /usr/lib/debug/.build-id/cd/a98b0fa9d8057ee9f3ff5780c65cc9f2f111c2 120777 root:root ../../../../bin/dia2code -File: /usr/lib/debug/.build-id/cd/a98b0fa9d8057ee9f3ff5780c65cc9f2f111c2.debug 120777 root:root ../../usr/bin/dia2code.debug -File: /usr/lib/debug/usr/bin/dia2code.debug 100644 root:root d915f425a0c884a17e8ac4370106d7e1 +File: /usr/lib/debug/.build-id/2c 40755 root:root +File: /usr/lib/debug/.build-id/2c/8fade5cdb1391cec5c1ba63ba43878f879eb18 120777 root:root ../../../../bin/dia2code +File: /usr/lib/debug/.build-id/2c/8fade5cdb1391cec5c1ba63ba43878f879eb18.debug 120777 root:root ../../usr/bin/dia2code.debug +File: /usr/lib/debug/usr/bin/dia2code.debug 100644 root:root a17f42a4ca1dc47a2f662fcc86159ef3 File: /usr/src/debug/dia2code-0.8.8 40755 root:root @@ -72,2 +72,2 @@ File: /usr/src/debug/dia2code-0.8.8/dia2code/source_parser.h 100644 root:root 5f8575fe6a5581905533c0dbfcdf3826 -RPMIdentity: 44888a515e4520f6aad3f72b639d30d0fa9d51b1c5021805275a28ff34c25de6b20f2d3d9ecc496f0a57a56114863778320958522f54eae54f36f44d8ee7a5c1 +RPMIdentity: a315d6e44536f1a1302e129b8bec73df62d2f800c0808468b84e185fbffd0fcc33c37a45f0f2125ad4c9c9417e4a0da9cc8a564c1c926a9a6e4acd8ec442172c