<86>Mar 23 08:57:26 userdel[2529727]: delete user 'rooter' <86>Mar 23 08:57:26 userdel[2529727]: removed group 'rooter' owned by 'rooter' <86>Mar 23 08:57:26 userdel[2529727]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 23 08:57:26 groupadd[2529739]: group added to /etc/group: name=rooter, GID=621 <86>Mar 23 08:57:26 groupadd[2529739]: group added to /etc/gshadow: name=rooter <86>Mar 23 08:57:26 groupadd[2529739]: new group: name=rooter, GID=621 <86>Mar 23 08:57:26 useradd[2529747]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Mar 23 08:57:26 userdel[2529763]: delete user 'builder' <86>Mar 23 08:57:26 userdel[2529763]: removed group 'builder' owned by 'builder' <86>Mar 23 08:57:26 userdel[2529763]: removed shadow group 'builder' owned by 'builder' <86>Mar 23 08:57:26 groupadd[2529774]: group added to /etc/group: name=builder, GID=622 <86>Mar 23 08:57:26 groupadd[2529774]: group added to /etc/gshadow: name=builder <86>Mar 23 08:57:26 groupadd[2529774]: new group: name=builder, GID=622 <86>Mar 23 08:57:26 useradd[2529786]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Mar 23 08:57:29 rpmi: libxml2-devel-1:2.9.10-alt6 sisyphus+265234.30740.49.1 1613765060 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/dia2code-0.8.8-alt1.nosrc.rpm (w1.gzdio) Installing dia2code-0.8.8-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.6940 + 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 . + sed -i s@/usr/local/bin@/usr/bin@ dia2code.kaptn + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6940 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + readlink -e -- ./configure + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-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 i586-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-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 i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-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 i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i586-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i586-alt-linux-gcc... (cached) none checking for i586-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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -I/usr/include/libxml2 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 ld: dia2code-main.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-main.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-main.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-parse_diagram.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-parse_diagram.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-parse_diagram.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-scan_tree.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-scan_tree.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-scan_tree.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_c.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_c.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_c.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_java.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_java.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_java.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_cpp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_cpp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_cpp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_ada.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_ada.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_ada.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_sql.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_sql.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_sql.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_python.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_python.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_python.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_php.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_php.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_php.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_shp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_shp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_shp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_idl.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_idl.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_idl.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_csharp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_csharp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_csharp.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_php_five.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_php_five.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_php_five.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_ruby.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_ruby.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_ruby.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-generate_code_as3.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-generate_code_as3.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-generate_code_as3.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-decls.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-decls.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-decls.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-includes.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-includes.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-includes.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-source_parser.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-source_parser.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-source_parser.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here ld: dia2code-comment_helper.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: multiple definition of `generate_backup'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:310: first defined here ld: dia2code-comment_helper.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: multiple definition of `indent_open_brace_on_newline'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:309: first defined here ld: dia2code-comment_helper.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: multiple definition of `indent_count'; dia2code-dia2code.o:/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code/dia2code.h:308: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:424: dia2code] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/dia2code-0.8.8/dia2code' make[1]: *** [Makefile:406: all-recursive] Error 1 make: *** [Makefile:338: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.6940 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.6940 (%build) Command exited with non-zero status 1 20.82user 3.81system 0:16.76elapsed 146%CPU (0avgtext+0avgdata 31056maxresident)k 0inputs+0outputs (0major+603264minor)pagefaults 0swaps hsh-rebuild: rebuild of `dia2code-0.8.8-alt1.src.rpm' failed. Command exited with non-zero status 1 26.59user 8.91system 0:26.53elapsed 133%CPU (0avgtext+0avgdata 106800maxresident)k 192inputs+0outputs (0major+827528minor)pagefaults 0swaps