<86>Dec 25 01:11:16 userdel[1379911]: delete user 'rooter' <86>Dec 25 01:11:16 userdel[1379911]: removed group 'rooter' owned by 'rooter' <86>Dec 25 01:11:16 userdel[1379911]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 01:11:16 groupadd[1379936]: group added to /etc/group: name=rooter, GID=1841 <86>Dec 25 01:11:16 groupadd[1379936]: group added to /etc/gshadow: name=rooter <86>Dec 25 01:11:16 groupadd[1379936]: new group: name=rooter, GID=1841 <86>Dec 25 01:11:16 useradd[1379957]: new user: name=rooter, UID=1841, GID=1841, home=/root, shell=/bin/bash, from=none <86>Dec 25 01:11:16 userdel[1379988]: delete user 'builder' <86>Dec 25 01:11:16 userdel[1379988]: removed group 'builder' owned by 'builder' <86>Dec 25 01:11:16 userdel[1379988]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 01:11:16 groupadd[1380022]: group added to /etc/group: name=builder, GID=1842 <86>Dec 25 01:11:16 groupadd[1380022]: group added to /etc/gshadow: name=builder <86>Dec 25 01:11:16 groupadd[1380022]: new group: name=builder, GID=1842 <86>Dec 25 01:11:16 useradd[1380045]: new user: name=builder, UID=1842, GID=1842, home=/usr/src, shell=/bin/bash, from=none <13>Dec 25 01:11:19 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 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.15406 + 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): + /usr/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): + /usr/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.65299 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dia2code-0.8.8 + autoreconf -fisv autoreconf-default: export WARNINGS= 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 Gtkdoc autoreconf-default: running: aclocal --force -I m4 autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:4: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:4: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:4: the top level configure.ac:42: warning: AC_OUTPUT should be used without arguments. configure.ac:42: You should run autoupdate. autoreconf-default: running: /usr/bin/autoheader-2.71 --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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ 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_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./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 --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/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 the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/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-file... no checking for file... file 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... /usr/bin/dd checking how to truncate binary pipes... /usr/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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 the compiler supports GNU C... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to enable C11 features... (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 -j16 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 -flto=auto -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: error: 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]: *** [Makefile:558: dia2code-generate_code_java.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[2]: *** Waiting for unfinished jobs.... 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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -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 -flto=auto -c -o dia2code-generate_code_csharp.o `test -f 'generate_code_csharp.c' || echo './'`generate_code_csharp.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 -flto=auto -c -o dia2code-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:266:13: error: 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]: *** [Makefile:502: dia2code-main.o] Error 1 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 -flto=auto -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 -flto=auto -c -o dia2code-generate_code_idl.o `test -f 'generate_code_idl.c' || echo './'`generate_code_idl.c generate_code_idl.c: In function 'gen_decl': generate_code_idl.c:250:28: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 250 | if (umla->key.name != NULL && strlen (umla->key.name) > 0) { | ^~ In file included from generate_code_idl.c:22: dia2code.h:63:10: note: 'name' declared here 63 | char name[SMALL_BUFFER]; | ^~~~ 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 -flto=auto -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 -flto=auto -c -o dia2code-generate_code_ada.o `test -f 'generate_code_ada.c' || echo './'`generate_code_ada.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 -flto=auto -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: error: 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; | ^~~~~~ make[2]: *** [Makefile:628: dia2code-generate_code_php.o] Error 1 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 -flto=auto -c -o dia2code-dia2code.o `test -f 'dia2code.c' || echo './'`dia2code.c dia2code.c: In function 'create_package_dir': dia2code.c:245:44: warning: the comparison will always evaluate as 'false' for the address of 'name' will never be NULL [-Waddress] 245 | if (batch->buildtree == 0 || pkg->name == NULL) { | ^~ In file included from dia2code.c:18: dia2code.h:123:10: note: 'name' declared here 123 | char name[SMALL_BUFFER]; | ^~~~ 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 -flto=auto -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:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 407 | 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) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 407 | 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 92 | __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:15, from dia2code.h:32: /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 356 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 407 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 428 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 156 | 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 *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | 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 ) { | ~~~~~~~^~~~~~~ parse_diagram.c: At top level: parse_diagram.c:26:17: warning: 'anon_cnt' defined but not used [-Wunused-variable] 26 | static unsigned anon_cnt = 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 -flto=auto -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[1]: *** [Makefile:407: all-recursive] Error 1 make: *** [Makefile:339: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.65299 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.65299 (%build) Command exited with non-zero status 1 3.62user 2.79system 0:05.87elapsed 109%CPU (0avgtext+0avgdata 28088maxresident)k 0inputs+0outputs (0major+570687minor)pagefaults 0swaps hsh-rebuild: rebuild of `dia2code-0.8.8-alt2.src.rpm' failed. Command exited with non-zero status 1 3.31user 2.61system 0:14.01elapsed 42%CPU (0avgtext+0avgdata 136668maxresident)k 0inputs+0outputs (0major+196405minor)pagefaults 0swaps