* Package: media-sound/ptabtools-0.5.0 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking ptabtools-0.5.0.tar.gz to /var/tmp/portage/media-sound/ptabtools-0.5.0/work >>> Source unpacked in /var/tmp/portage/media-sound/ptabtools-0.5.0/work >>> Preparing source in /var/tmp/portage/media-sound/ptabtools-0.5.0/work/ptabtools-0.5.0 ... * Applying ptabtools-0.5.0-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/ptabtools-0.5.0/work/ptabtools-0.5.0 ... * econf: updating ptabtools-0.5.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ptabtools-0.5.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/ptabtools-0.5.0 --htmldir=/usr/share/doc/ptabtools-0.5.0/html --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for poptGetArg in -lpopt... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML... yes checking for LIBXSLT... yes checking for CHECK... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes configure: creating ./config.status config.status: creating Makefile.settings config.status: creating ptabtools.spec config.status: creating ptabtools.pc config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/ptabtools-0.5.0/work/ptabtools-0.5.0 ... make -j1 AR=x86_64-pc-linux-gnu-ar x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptbdict.c -o ptbdict.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptb.c -o ptb.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptb-tuning.c -o ptb-tuning.o ptb-tuning.c: In function ‘ptb_read_tuning_dict’: ptb-tuning.c:57:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 57 | read(fd, &ptbf->nr_tunings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:58:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 58 | read(fd, unknown, 7); | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:59:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 59 | read(fd, unknown, 7); /* Class name (CTuning) */ | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:64:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 64 | read(fd, &name_len, 1); | ^~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:67:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 67 | read(fd, ptbf->tunings[i].name, name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:70:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 70 | read(fd, &ptbf->tunings[i].capo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:71:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 71 | read(fd, &ptbf->tunings[i].nr_strings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:73:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 73 | read(fd, ptbf->tunings[i].strings, ptbf->tunings[i].nr_strings); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:75:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 75 | read(fd, unknown, 2); | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c: In function ‘ptb_write_tuning_dict’: ptb-tuning.c:100:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 100 | write(fd, &ptbf->nr_tunings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:101:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 101 | write(fd, unknown, 7); | ^~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:102:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 102 | write(fd, "CTuning", 7); /* Class name */ | ^~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:107:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 107 | write(fd, &name_len, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:109:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 109 | write(fd, ptbf->tunings[i].name, name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:111:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 111 | write(fd, &ptbf->tunings[i].capo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:112:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 112 | write(fd, &ptbf->tunings[i].nr_strings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:113:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 113 | write(fd, ptbf->tunings[i].strings, ptbf->tunings[i].nr_strings); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:115:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 115 | write(fd, &next, 2); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptbdict ptbdict.o ptb.o ptb-tuning.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptb2ly.c -o ptb2ly.o ptb2ly.c: In function ‘ly_write_position’: ptb2ly.c:195:6: warning: variable ‘tied’ set but not used [-Wunused-but-set-variable] 195 | int tied = 0; | ^~~~ ptb2ly.c: In function ‘main’: ptb2ly.c:555:6: warning: variable ‘have_lyrics’ set but not used [-Wunused-but-set-variable] 555 | int have_lyrics; | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptb2ly ptb2ly.o ptb.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptb2ascii.c -o ptb2ascii.o ptb2ascii.c: In function ‘ascii_write_chordtext’: ptb2ascii.c:79:5: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’ [-Wparentheses] 79 | if(!(name->properties & CHORDTEXT_PROPERTY_NOCHORD) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptb2ascii ptb2ascii.o ptb.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptbinfo.c -o ptbinfo.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptbinfo ptbinfo.o ptb.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c gp2ly.c -o gp2ly.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c gp.c -o gp.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o gp2ly gp2ly.o gp.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c ptb2abc.c -o ptb2abc.o ptb2abc.c: In function ‘abc_write_chordtext’: ptb2abc.c:113:5: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’ [-Wparentheses] 113 | if(!(name->properties & CHORDTEXT_PROPERTY_NOCHORD) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptb2abc ptb2abc.o ptb.o -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -c ptb2xml.c -I/usr/include/libxml2 -I/usr/include/libxml2 -DMUSICXMLSTYLESHEET=\"/usr/share/ptabtools/ptbxml2musicxml.xsl\" ptb2xml.c: In function ‘xml_write_font’: ptb2xml.c:70:38: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 70 | xmlNodePtr xfont = xmlNewNode(NULL, "font"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:71:20: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 71 | xmlSetProp(xfont, "function", name); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:71:32: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 71 | xmlSetProp(xfont, "function", name); | ^~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:72:28: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 72 | SMART_ADD_PROP_INT(xfont, "pointsize", font->pointsize); | ^~~~~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:72:2: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 72 | SMART_ADD_PROP_INT(xfont, "pointsize", font->pointsize); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:73:28: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 73 | SMART_ADD_PROP_INT(xfont, "weight", font->weight); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:73:2: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 73 | SMART_ADD_PROP_INT(xfont, "weight", font->weight); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:74:28: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 74 | SMART_ADD_PROP_INT(xfont, "underlined", font->underlined); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:74:2: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 74 | SMART_ADD_PROP_INT(xfont, "underlined", font->underlined); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:75:28: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 75 | SMART_ADD_PROP_INT(xfont, "italic", font->italic); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:75:2: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 75 | SMART_ADD_PROP_INT(xfont, "italic", font->italic); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:76:20: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 76 | xmlSetProp(xfont, "family", font->family); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:76:34: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 76 | xmlSetProp(xfont, "family", font->family); | ~~~~^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘xml_write_directions’: ptb2xml.c:82:44: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 82 | xmlNodePtr xdirections = xmlNewNode(NULL, "directions"); | ^~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:86:44: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 86 | xmlNodePtr xdirection = xmlNewNode(NULL, "direction"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c: In function ‘xml_write_rhythmslashes’: ptb2xml.c:96:46: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 96 | xmlNodePtr xrhythmslashs = xmlNewNode(NULL, "rhythmslashs"); | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:100:46: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 100 | xmlNodePtr xrhythmslash = xmlNewNode(NULL, "rhythmslash"); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:102:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 102 | SMART_ADD_CHILD_INT(xrhythmslash, "properties", rhythmslash->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:102:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 102 | SMART_ADD_CHILD_INT(xrhythmslash, "properties", rhythmslash->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:103:36: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 103 | SMART_ADD_PROP_INT(xrhythmslash, "offset", rhythmslash->offset); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:103:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 103 | SMART_ADD_PROP_INT(xrhythmslash, "offset", rhythmslash->offset); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:104:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 104 | SMART_ADD_CHILD_INT(xrhythmslash, "dotted", rhythmslash->dotted); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:104:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 104 | SMART_ADD_CHILD_INT(xrhythmslash, "dotted", rhythmslash->dotted); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:105:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 105 | SMART_ADD_CHILD_INT(xrhythmslash, "length", rhythmslash->length); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:105:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 105 | SMART_ADD_CHILD_INT(xrhythmslash, "length", rhythmslash->length); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_chordtexts’: ptb2xml.c:115:44: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 115 | xmlNodePtr xchordtexts = xmlNewNode(NULL, "chordtexts"); | ^~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:119:44: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 119 | xmlNodePtr xchordtext = xmlNewNode(NULL, "chordtext"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:122:38: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 122 | SMART_ADD_CHILD_STRING(xchordtext, "note1", ptb_get_tone(chordtext->name[0])); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:122:47: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 122 | SMART_ADD_CHILD_STRING(xchordtext, "note1", ptb_get_tone(chordtext->name[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:123:38: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 123 | SMART_ADD_CHILD_STRING(xchordtext, "note2", ptb_get_tone(chordtext->name[1])); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:123:47: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 123 | SMART_ADD_CHILD_STRING(xchordtext, "note2", ptb_get_tone(chordtext->name[1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:124:34: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 124 | SMART_ADD_PROP_INT(xchordtext, "offset", chordtext->offset); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:124:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 124 | SMART_ADD_PROP_INT(xchordtext, "offset", chordtext->offset); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:125:35: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 125 | SMART_ADD_CHILD_INT(xchordtext, "additions", chordtext->additions); | ^~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:125:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 125 | SMART_ADD_CHILD_INT(xchordtext, "additions", chordtext->additions); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:126:35: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 126 | SMART_ADD_CHILD_INT(xchordtext, "alterations", chordtext->alterations); | ^~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:126:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 126 | SMART_ADD_CHILD_INT(xchordtext, "alterations", chordtext->alterations); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:127:35: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 127 | SMART_ADD_CHILD_INT(xchordtext, "properties", chordtext->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:127:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 127 | SMART_ADD_CHILD_INT(xchordtext, "properties", chordtext->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:128:35: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 128 | SMART_ADD_CHILD_INT(xchordtext, "VII", chordtext->VII); | ^~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:128:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 128 | SMART_ADD_CHILD_INT(xchordtext, "VII", chordtext->VII); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_musicbars’: ptb2xml.c:137:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 137 | xmlNodePtr xmusicbars = xmlNewNode(NULL, "musicbars"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:141:61: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 141 | xmlNodePtr xmusicbar = SMART_ADD_CHILD_STRING(xmusicbars, "musicbar", musicbar->description); | ^~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:141:81: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 141 | sicbar = SMART_ADD_CHILD_STRING(xmusicbars, "musicbar", musicbar->description); | ~~~~~~~~^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:146:26: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 146 | xmlSetProp(xmusicbar, "letter", tmp); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:146:36: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 146 | xmlSetProp(xmusicbar, "letter", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘xml_write_linedatas’: ptb2xml.c:156:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 156 | xmlNodePtr xlinedatas = xmlNewNode(NULL, "linedatas"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:160:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 160 | xmlNodePtr xlinedata = xmlNewNode(NULL, "linedata"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:163:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 163 | SMART_ADD_CHILD_INT(xlinedata, "string", linedata->detailed.string); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:163:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 163 | SMART_ADD_CHILD_INT(xlinedata, "string", linedata->detailed.string); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:164:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 164 | SMART_ADD_CHILD_INT(xlinedata, "fret", linedata->detailed.fret); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:164:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 164 | SMART_ADD_CHILD_INT(xlinedata, "fret", linedata->detailed.fret); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:165:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 165 | SMART_ADD_CHILD_INT(xlinedata, "properties", linedata->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:165:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 165 | SMART_ADD_CHILD_INT(xlinedata, "properties", linedata->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:166:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 166 | SMART_ADD_CHILD_INT(xlinedata, "transcribe", linedata->transcribe); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:166:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 166 | SMART_ADD_CHILD_INT(xlinedata, "transcribe", linedata->transcribe); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:167:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 167 | SMART_ADD_CHILD_INT(xlinedata, "conn_to_next", linedata->conn_to_next); | ^~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:167:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 167 | SMART_ADD_CHILD_INT(xlinedata, "conn_to_next", linedata->conn_to_next); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_positions’: ptb2xml.c:176:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 176 | xmlNodePtr xpositions = xmlNewNode(NULL, "positions"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:180:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 180 | xmlNodePtr xposition = xmlNewNode(NULL, "position"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:183:33: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 183 | SMART_ADD_PROP_INT(xposition, "offset", position->offset); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:183:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 183 | SMART_ADD_PROP_INT(xposition, "offset", position->offset); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:184:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 184 | SMART_ADD_CHILD_INT(xposition, "dots", position->dots); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:184:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 184 | SMART_ADD_CHILD_INT(xposition, "dots", position->dots); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:185:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 185 | SMART_ADD_CHILD_INT(xposition, "length", position->length); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:185:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 185 | SMART_ADD_CHILD_INT(xposition, "length", position->length); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:186:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 186 | SMART_ADD_CHILD_INT(xposition, "properties", position->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:186:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 186 | SMART_ADD_CHILD_INT(xposition, "properties", position->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:187:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 187 | SMART_ADD_CHILD_INT(xposition, "fermenta", position->fermenta); | ^~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:187:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 187 | SMART_ADD_CHILD_INT(xposition, "fermenta", position->fermenta); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_staffs’: ptb2xml.c:198:40: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 198 | xmlNodePtr xstaffs = xmlNewNode(NULL, "staffs"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:203:40: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 203 | xmlNodePtr xstaff = xmlNewNode(NULL, "staff"); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:206:31: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 206 | SMART_ADD_CHILD_INT(xstaff, "highest_note_space", staff->highest_note_space); | ^~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:206:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 206 | SMART_ADD_CHILD_INT(xstaff, "highest_note_space", staff->highest_note_space); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:207:31: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 207 | SMART_ADD_CHILD_INT(xstaff, "lowest_note_space", staff->lowest_note_space); | ^~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:207:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 207 | SMART_ADD_CHILD_INT(xstaff, "lowest_note_space", staff->lowest_note_space); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:208:31: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 208 | SMART_ADD_CHILD_INT(xstaff, "symbol_space", staff->symbol_space); | ^~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:208:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 208 | SMART_ADD_CHILD_INT(xstaff, "symbol_space", staff->symbol_space); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:209:31: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 209 | SMART_ADD_CHILD_INT(xstaff, "tab_staff_space", staff->tab_staff_space); | ^~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:209:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 209 | SMART_ADD_CHILD_INT(xstaff, "tab_staff_space", staff->tab_staff_space); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:210:31: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 210 | SMART_ADD_CHILD_INT(xstaff, "properties", staff->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:210:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 210 | SMART_ADD_CHILD_INT(xstaff, "properties", staff->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_sections’: ptb2xml.c:222:38: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 222 | xmlNodePtr sctns = xmlNewNode(NULL, "sections"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:227:42: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 227 | xmlNodePtr xsection = xmlNewNode(NULL, "section"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:234:24: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 234 | xmlSetProp(xsection, "letter", tmp); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:234:34: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 234 | xmlSetProp(xsection, "letter", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:239:37: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 239 | SMART_ADD_CHILD_STRING(xsection, "end-mark", "normal"); | ^~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:239:49: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 239 | SMART_ADD_CHILD_STRING(xsection, "end-mark", "normal"); | ^~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:242:37: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 242 | SMART_ADD_CHILD_STRING(xsection, "end-mark", "repeat"); | ^~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:242:49: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 242 | SMART_ADD_CHILD_STRING(xsection, "end-mark", "repeat"); | ^~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:246:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 246 | meter_type = xmlNewNode(NULL, "meter-type"); | ^~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:249:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 249 | ter_type & METER_TYPE_BEAM_2) SMART_ADD_CHILD_STRING(meter_type, "beam_2", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:249:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 249 | ER_TYPE_BEAM_2) SMART_ADD_CHILD_STRING(meter_type, "beam_2", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:250:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 250 | ter_type & METER_TYPE_BEAM_3) SMART_ADD_CHILD_STRING(meter_type, "beam_3", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:250:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 250 | ER_TYPE_BEAM_3) SMART_ADD_CHILD_STRING(meter_type, "beam_3", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:251:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 251 | ter_type & METER_TYPE_BEAM_4) SMART_ADD_CHILD_STRING(meter_type, "beam_4", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:251:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 251 | ER_TYPE_BEAM_4) SMART_ADD_CHILD_STRING(meter_type, "beam_4", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:252:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 252 | ter_type & METER_TYPE_BEAM_5) SMART_ADD_CHILD_STRING(meter_type, "beam_5", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:252:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 252 | ER_TYPE_BEAM_5) SMART_ADD_CHILD_STRING(meter_type, "beam_5", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:253:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 253 | ter_type & METER_TYPE_BEAM_6) SMART_ADD_CHILD_STRING(meter_type, "beam_6", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:253:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 253 | ER_TYPE_BEAM_6) SMART_ADD_CHILD_STRING(meter_type, "beam_6", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:254:82: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 254 | ter_type & METER_TYPE_COMMON) SMART_ADD_CHILD_STRING(meter_type, "common", ""); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:254:92: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 254 | ER_TYPE_COMMON) SMART_ADD_CHILD_STRING(meter_type, "common", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:255:79: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 255 | on->meter_type & METER_TYPE_CUT) SMART_ADD_CHILD_STRING(meter_type, "cut", ""); | ^~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:255:86: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 255 | & METER_TYPE_CUT) SMART_ADD_CHILD_STRING(meter_type, "cut", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:256:80: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 256 | ->meter_type & METER_TYPE_SHOW) SMART_ADD_CHILD_STRING(meter_type, "show", ""); | ^~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:256:88: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 256 | METER_TYPE_SHOW) SMART_ADD_CHILD_STRING(meter_type, "show", ""); | ^~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:258:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 258 | SMART_ADD_CHILD_INT(xsection, "beat", section->detailed.beat); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:258:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 258 | SMART_ADD_CHILD_INT(xsection, "beat", section->detailed.beat); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:259:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 259 | SMART_ADD_CHILD_INT(xsection, "beat-value", section->detailed.beat_value); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:259:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 259 | SMART_ADD_CHILD_INT(xsection, "beat-value", section->detailed.beat_value); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:260:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 260 | SMART_ADD_CHILD_INT(xsection, "metronome-pulses-per-measure", section->metronome_pulses_per_measure); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:260:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 260 | SMART_ADD_CHILD_INT(xsection, "metronome-pulses-per-measure", section->metronome_pulses_per_measure); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:261:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 261 | SMART_ADD_CHILD_INT(xsection, "properties", section->properties); | ^~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:261:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 261 | SMART_ADD_CHILD_INT(xsection, "properties", section->properties); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:262:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 262 | SMART_ADD_CHILD_INT(xsection, "key-extra", section->key_extra); | ^~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:262:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 262 | SMART_ADD_CHILD_INT(xsection, "key-extra", section->key_extra); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:263:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 263 | SMART_ADD_CHILD_INT(xsection, "position-width", section->position_width); | ^~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:263:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 263 | SMART_ADD_CHILD_INT(xsection, "position-width", section->position_width); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:264:36: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 264 | SMART_ADD_CHILD_STRING(xsection, "description", section->description); | ^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:264:58: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 264 | SMART_ADD_CHILD_STRING(xsection, "description", section->description); | ~~~~~~~^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_guitars’: ptb2xml.c:281:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 281 | xmlNodePtr gtrs = xmlNewNode(NULL, "guitars"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:287:38: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 287 | xmlNodePtr xgtr = xmlNewNode(NULL, "guitar"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:292:20: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 292 | xmlSetProp(xgtr, "id", tmp); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:292:26: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 292 | xmlSetProp(xgtr, "id", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:294:30: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 294 | strings = xmlNewNode(NULL, "tuning"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:299:41: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 299 | xmlNodePtr string = xmlNewNode(NULL, "stringtuning"); | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:300:31: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 300 | SMART_ADD_PROP_INT(string, "octave", gtr->strings[i]/12); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:300:4: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 300 | SMART_ADD_PROP_INT(string, "octave", gtr->strings[i]/12); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:301:23: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 301 | xmlSetProp(string, "note", notenames[gtr->strings[i]%12]); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:301:40: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 301 | xmlSetProp(string, "note", notenames[gtr->strings[i]%12]); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:305:32: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 305 | SMART_ADD_CHILD_STRING(xgtr, "title", gtr->title); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:305:44: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 305 | SMART_ADD_CHILD_STRING(xgtr, "title", gtr->title); | ~~~^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:306:32: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 306 | SMART_ADD_CHILD_STRING(xgtr, "type", gtr->type); | ^~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:306:43: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 306 | SMART_ADD_CHILD_STRING(xgtr, "type", gtr->type); | ~~~^~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:307:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 307 | SMART_ADD_CHILD_INT(xgtr, "reverb", gtr->reverb); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:307:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 307 | SMART_ADD_CHILD_INT(xgtr, "reverb", gtr->reverb); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:308:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 308 | SMART_ADD_CHILD_INT(xgtr, "chorus", gtr->chorus); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:308:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 308 | SMART_ADD_CHILD_INT(xgtr, "chorus", gtr->chorus); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:309:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 309 | SMART_ADD_CHILD_INT(xgtr, "tremolo", gtr->tremolo); | ^~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:309:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 309 | SMART_ADD_CHILD_INT(xgtr, "tremolo", gtr->tremolo); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:310:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 310 | SMART_ADD_CHILD_INT(xgtr, "pan", gtr->pan); | ^~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:310:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 310 | SMART_ADD_CHILD_INT(xgtr, "pan", gtr->pan); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:311:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 311 | SMART_ADD_CHILD_INT(xgtr, "capo", gtr->capo); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:311:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 311 | SMART_ADD_CHILD_INT(xgtr, "capo", gtr->capo); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:312:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 312 | SMART_ADD_CHILD_INT(xgtr, "initial_volume", gtr->initial_volume); | ^~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:312:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 312 | SMART_ADD_CHILD_INT(xgtr, "initial_volume", gtr->initial_volume); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:313:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 313 | SMART_ADD_CHILD_INT(xgtr, "midi_instrument", gtr->midi_instrument); | ^~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:313:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 313 | SMART_ADD_CHILD_INT(xgtr, "midi_instrument", gtr->midi_instrument); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:314:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 314 | SMART_ADD_CHILD_INT(xgtr, "half_up", gtr->half_up); | ^~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:314:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 314 | SMART_ADD_CHILD_INT(xgtr, "half_up", gtr->half_up); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:315:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 315 | SMART_ADD_CHILD_INT(xgtr, "simulate", gtr->simulate); | ^~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:315:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 315 | SMART_ADD_CHILD_INT(xgtr, "simulate", gtr->simulate); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_guitarins’: ptb2xml.c:326:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 326 | xmlNodePtr xguitarins = xmlNewNode(NULL, "guitarins"); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:329:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 329 | xmlNodePtr xguitarin = xmlNewNode(NULL, "guitarin"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:332:33: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 332 | SMART_ADD_PROP_INT(xguitarin, "offset", guitarin->offset); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:332:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 332 | SMART_ADD_PROP_INT(xguitarin, "offset", guitarin->offset); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:333:33: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 333 | SMART_ADD_PROP_INT(xguitarin, "section", guitarin->section); | ^~~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:333:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 333 | SMART_ADD_PROP_INT(xguitarin, "section", guitarin->section); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:334:33: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 334 | SMART_ADD_PROP_INT(xguitarin, "staff", guitarin->staff); | ^~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:334:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 334 | SMART_ADD_PROP_INT(xguitarin, "staff", guitarin->staff); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:335:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 335 | SMART_ADD_CHILD_INT(xguitarin, "rhythm_slash", guitarin->rhythm_slash); | ^~~~~~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:335:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 335 | SMART_ADD_CHILD_INT(xguitarin, "rhythm_slash", guitarin->rhythm_slash); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:336:34: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 336 | SMART_ADD_CHILD_INT(xguitarin, "staff_in", guitarin->staff_in); | ^~~~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:336:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 336 | SMART_ADD_CHILD_INT(xguitarin, "staff_in", guitarin->staff_in); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_tempomarkers’: ptb2xml.c:347:46: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 347 | xmlNodePtr xtempomarkers = xmlNewNode(NULL, "tempomarkers"); | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:350:67: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 350 | NodePtr xtempomarker = SMART_ADD_CHILD_STRING(xtempomarkers, "tempomarker", tempomarker->description); | ^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:350:93: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 350 | SMART_ADD_CHILD_STRING(xtempomarkers, "tempomarker", tempomarker->description); | ~~~~~~~~~~~^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:352:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 352 | SMART_ADD_CHILD_INT(xtempomarker, "type", tempomarker->type); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:352:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 352 | SMART_ADD_CHILD_INT(xtempomarker, "type", tempomarker->type); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:353:36: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 353 | SMART_ADD_PROP_INT(xtempomarker, "section", tempomarker->section); | ^~~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:353:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 353 | SMART_ADD_PROP_INT(xtempomarker, "section", tempomarker->section); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:354:36: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 354 | SMART_ADD_PROP_INT(xtempomarker, "offset", tempomarker->offset); | ^~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:354:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 354 | SMART_ADD_PROP_INT(xtempomarker, "offset", tempomarker->offset); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:355:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 355 | SMART_ADD_CHILD_INT(xtempomarker, "bpm", tempomarker->bpm); | ^~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:355:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 355 | SMART_ADD_CHILD_INT(xtempomarker, "bpm", tempomarker->bpm); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_dynamics’: ptb2xml.c:366:42: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 366 | xmlNodePtr xdynamics = xmlNewNode(NULL, "dynamics"); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:369:42: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 369 | xmlNodePtr xdynamic = xmlNewNode(NULL, "dynamic"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:372:32: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 372 | SMART_ADD_PROP_INT(xdynamic, "position", dynamic->position); | ^~~~~~~~~~ | | | char * ptb2xml.c:47:21: note: in definition of macro ‘SMART_ADD_PROP_INT’ 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:47:27: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 47 | xmlSetProp(parent, name, tmpc); \ | ^~~~ | | | char * ptb2xml.c:372:3: note: in expansion of macro ‘SMART_ADD_PROP_INT’ 372 | SMART_ADD_PROP_INT(xdynamic, "position", dynamic->position); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘xml_write_chorddiagrams’: ptb2xml.c:383:47: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 383 | xmlNodePtr xchorddiagrams = xmlNewNode(NULL, "chorddiagrams"); | ^~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:387:47: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 387 | xmlNodePtr xchorddiagram = xmlNewNode(NULL, "chorddiagram"); | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:388:41: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 388 | xmlNodePtr strings = xmlNewNode(NULL, "strings"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:392:41: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 392 | SMART_ADD_CHILD_STRING(xchorddiagram, "note1", ptb_get_tone(chorddiagram->name.name[0])); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:392:50: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 392 | SMART_ADD_CHILD_STRING(xchorddiagram, "note1", ptb_get_tone(chorddiagram->name.name[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:393:41: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 393 | SMART_ADD_CHILD_STRING(xchorddiagram, "note2", ptb_get_tone(chorddiagram->name.name[1])); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:393:50: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 393 | SMART_ADD_CHILD_STRING(xchorddiagram, "note2", ptb_get_tone(chorddiagram->name.name[1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:394:38: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 394 | SMART_ADD_CHILD_INT(xchorddiagram, "frets", chorddiagram->frets); | ^~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:394:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 394 | SMART_ADD_CHILD_INT(xchorddiagram, "frets", chorddiagram->frets); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:395:38: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 395 | SMART_ADD_CHILD_INT(xchorddiagram, "type", chorddiagram->name.type); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:395:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 395 | SMART_ADD_CHILD_INT(xchorddiagram, "type", chorddiagram->name.type); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:398:33: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 398 | SMART_ADD_CHILD_INT(strings, "string", chorddiagram->tones[i]); | ^~~~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:398:4: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 398 | SMART_ADD_CHILD_INT(strings, "string", chorddiagram->tones[i]); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_sectionsymbols’: ptb2xml.c:410:48: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 410 | xmlNodePtr xsectionsymbols = xmlNewNode(NULL, "sectionsymbols"); | ^~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:413:48: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 413 | xmlNodePtr xsectionsymbol = xmlNewNode(NULL, "sectionsymbol"); | ^~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:416:39: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 416 | SMART_ADD_CHILD_INT(xsectionsymbol, "data", sectionsymbol->data); | ^~~~~~ | | | char * ptb2xml.c:54:36: note: in definition of macro ‘SMART_ADD_CHILD_INT’ 54 | xmlNodePtr tmp = xmlNewNode(NULL, name); \ | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:56:25: warning: pointer targets in passing argument 2 of ‘xmlNodeSetContent’ differ in signedness [-Wpointer-sign] 56 | xmlNodeSetContent(tmp, tmpc); \ | ^~~~ | | | char * ptb2xml.c:416:3: note: in expansion of macro ‘SMART_ADD_CHILD_INT’ 416 | SMART_ADD_CHILD_INT(xsectionsymbol, "data", sectionsymbol->data); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1061:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1061 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_floatingtexts’: ptb2xml.c:427:47: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 427 | xmlNodePtr xfloatingtexts = xmlNewNode(NULL, "floatingtexts"); | ^~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:430:69: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 430 | dePtr xfloatingtext = SMART_ADD_CHILD_STRING(xfloatingtexts, "floatingtext", floatingtext->text); | ^~~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:430:97: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 430 | t = SMART_ADD_CHILD_STRING(xfloatingtexts, "floatingtext", floatingtext->text); | ~~~~~~~~~~~~^~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:434:42: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 434 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "left"); | ^~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:434:55: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 434 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "left"); | ^~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:437:42: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 437 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "right"); | ^~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:437:55: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 437 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "right"); | ^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:440:42: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 440 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "center"); | ^~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:440:55: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 440 | SMART_ADD_CHILD_STRING(xfloatingtext, "alignment", "center"); | ^~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_instrument’: ptb2xml.c:455:43: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 455 | xmlNodePtr instrument = xmlNewNode(NULL, "instrument"); | ^~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:457:25: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 457 | xmlSetProp(instrument, "id", tmp); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:457:31: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 457 | xmlSetProp(instrument, "id", tmp); | ^~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘xml_write_song_header’: ptb2xml.c:472:37: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 472 | xmlNodePtr song = xmlNewNode(NULL, "song"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:474:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 474 | SMART_ADD_CHILD_STRING(song, "title", hdr->class_info.song.title); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:474:60: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 474 | SMART_ADD_CHILD_STRING(song, "title", hdr->class_info.song.title); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:475:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 475 | SMART_ADD_CHILD_STRING(song, "artist", hdr->class_info.song.artist); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:475:61: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 475 | SMART_ADD_CHILD_STRING(song, "artist", hdr->class_info.song.artist); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:476:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 476 | SMART_ADD_CHILD_STRING(song, "words-by", hdr->class_info.song.words_by); | ^~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:476:63: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 476 | SMART_ADD_CHILD_STRING(song, "words-by", hdr->class_info.song.words_by); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:477:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 477 | SMART_ADD_CHILD_STRING(song, "music-by", hdr->class_info.song.music_by); | ^~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:477:63: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 477 | SMART_ADD_CHILD_STRING(song, "music-by", hdr->class_info.song.music_by); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:478:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 478 | SMART_ADD_CHILD_STRING(song, "arranged-by", hdr->class_info.song.arranged_by); | ^~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:478:66: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 478 | SMART_ADD_CHILD_STRING(song, "arranged-by", hdr->class_info.song.arranged_by); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:479:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 479 | SMART_ADD_CHILD_STRING(song, "guitar-transcribed-by", hdr->class_info.song.guitar_transcribed_by); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:479:76: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 479 | LD_STRING(song, "guitar-transcribed-by", hdr->class_info.song.guitar_transcribed_by); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:480:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 480 | SMART_ADD_CHILD_STRING(song, "bass-transcribed-by", hdr->class_info.song.bass_transcribed_by); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:480:74: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 480 | HILD_STRING(song, "bass-transcribed-by", hdr->class_info.song.bass_transcribed_by); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:481:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 481 | SMART_ADD_CHILD_STRING(song, "lyrics", hdr->class_info.song.lyrics); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:481:61: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 481 | SMART_ADD_CHILD_STRING(song, "lyrics", hdr->class_info.song.lyrics); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:482:31: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 482 | SMART_ADD_CHILD_STRING(song, "copyright", hdr->class_info.song.copyright); | ^~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:482:64: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 482 | SMART_ADD_CHILD_STRING(song, "copyright", hdr->class_info.song.copyright); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c: In function ‘xml_write_lesson_header’: ptb2xml.c:491:39: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 491 | xmlNodePtr lesson = xmlNewNode(NULL, "lesson"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:493:33: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 493 | SMART_ADD_CHILD_STRING(lesson, "title", hdr->class_info.lesson.title); | ^~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:493:64: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 493 | SMART_ADD_CHILD_STRING(lesson, "title", hdr->class_info.lesson.title); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:494:33: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 494 | SMART_ADD_CHILD_STRING(lesson, "artist", hdr->class_info.lesson.artist); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:494:65: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 494 | SMART_ADD_CHILD_STRING(lesson, "artist", hdr->class_info.lesson.artist); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:495:33: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 495 | SMART_ADD_CHILD_STRING(lesson, "author", hdr->class_info.lesson.author); | ^~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:495:65: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 495 | SMART_ADD_CHILD_STRING(lesson, "author", hdr->class_info.lesson.author); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:496:33: warning: pointer targets in passing argument 3 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 496 | SMART_ADD_CHILD_STRING(lesson, "copyright", hdr->class_info.lesson.copyright); | ^~~~~~~~~~~ | | | char * ptb2xml.c:51:86: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:899:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 899 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:496:68: warning: pointer targets in passing argument 4 of ‘xmlNewTextChild’ differ in signedness [-Wpointer-sign] 496 | SMART_ADD_CHILD_STRING(lesson, "copyright", hdr->class_info.lesson.copyright); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * ptb2xml.c:51:92: note: in definition of macro ‘SMART_ADD_CHILD_STRING’ 51 | LD_STRING(parent, name, contents) xmlNewTextChild(parent, NULL, name, contents) | ^~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:900:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 900 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:499:42: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 499 | case LEVEL_BEGINNER: xmlSetProp(lesson, "level", "beginner"); break; | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:499:51: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 499 | case LEVEL_BEGINNER: xmlSetProp(lesson, "level", "beginner"); break; | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:500:46: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 500 | case LEVEL_INTERMEDIATE: xmlSetProp(lesson, "level", "intermediate"); break; | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:500:55: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 500 | case LEVEL_INTERMEDIATE: xmlSetProp(lesson, "level", "intermediate"); break; | ^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:501:42: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 501 | case LEVEL_ADVANCED: xmlSetProp(lesson, "level", "advanced"); break; | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:501:51: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 501 | case LEVEL_ADVANCED: xmlSetProp(lesson, "level", "advanced"); break; | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘xml_write_header’: ptb2xml.c:511:39: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 511 | xmlNodePtr header = xmlNewNode(NULL, "header"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:514:22: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 514 | xmlSetProp(header, "classification", "song"); | ^~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:514:40: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 514 | xmlSetProp(header, "classification", "song"); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c:518:22: warning: pointer targets in passing argument 2 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 518 | xmlSetProp(header, "classification", "lesson"); | ^~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1016:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1016 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:518:40: warning: pointer targets in passing argument 3 of ‘xmlSetProp’ differ in signedness [-Wpointer-sign] 518 | xmlSetProp(header, "classification", "lesson"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:1017:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1017 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ ptb2xml.c: In function ‘main’: ptb2xml.c:594:32: warning: pointer targets in passing argument 2 of ‘xmlCreateIntSubset’ differ in signedness [-Wpointer-sign] 594 | dtd = xmlCreateIntSubset(doc, "powertab", NULL, DTD_URL); | ^~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:753:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 753 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ ptb2xml.c:27:17: warning: pointer targets in passing argument 4 of ‘xmlCreateIntSubset’ differ in signedness [-Wpointer-sign] 27 | #define DTD_URL "http://jelmer.vernstok.nl/oss/ptabtools/svn/trunk/ptbxml.dtd" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ptb2xml.c:27:17: note: in definition of macro ‘DTD_URL’ 27 | #define DTD_URL "http://jelmer.vernstok.nl/oss/ptabtools/svn/trunk/ptbxml.dtd" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:755:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 755 | const xmlChar *SystemID); | ~~~~~~~~~~~~~~~^~~~~~~~ ptb2xml.c:597:26: warning: pointer targets in passing argument 1 of ‘xmlNewComment’ differ in signedness [-Wpointer-sign] 597 | comment = xmlNewComment("\nGenerated by ptb2xml, part of ptabtools. \n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:872:34: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 872 | xmlNewComment (const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ ptb2xml.c:608:28: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 608 | fonts = xmlNewNode( NULL, "fonts"); xmlAddChild(root_node, fonts); | ^~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:16, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from ptb2xml.c:24: /usr/include/libxml2/libxml/tree.h:838:22: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 838 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ : warning: pointer targets in passing argument 1 of ‘xsltParseStylesheetFile’ differ in signedness [-Wpointer-sign] : note: in definition of macro ‘MUSICXMLSTYLESHEET’ In file included from /usr/include/libxslt/transform.h:18, from ptb2xml.c:41: /usr/include/libxslt/xsltInternals.h:1848:44: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 1848 | xsltParseStylesheetFile (const xmlChar* filename); | ~~~~~~~~~~~~~~~^~~~~~~~ ptb2xml.c:533:12: warning: variable ‘dtd’ set but not used [-Wunused-but-set-variable] 533 | xmlDtdPtr dtd; | ^~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ptb2xml ptb2xml.o ptb.o -lxml2 -lxslt -lm -lxml2 -lpopt x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -fPIC -c ptb.c -o ptb.po x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -fPIC -c gp.c -o gp.po x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -fPIC -c ptb-tuning.c -o ptb-tuning.po ptb-tuning.c: In function ‘ptb_read_tuning_dict’: ptb-tuning.c:57:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 57 | read(fd, &ptbf->nr_tunings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:58:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 58 | read(fd, unknown, 7); | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:59:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 59 | read(fd, unknown, 7); /* Class name (CTuning) */ | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:64:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 64 | read(fd, &name_len, 1); | ^~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:67:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 67 | read(fd, ptbf->tunings[i].name, name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:70:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 70 | read(fd, &ptbf->tunings[i].capo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:71:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 71 | read(fd, &ptbf->tunings[i].nr_strings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:73:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 73 | read(fd, ptbf->tunings[i].strings, ptbf->tunings[i].nr_strings); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:75:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 75 | read(fd, unknown, 2); | ^~~~~~~~~~~~~~~~~~~~ ptb-tuning.c: In function ‘ptb_write_tuning_dict’: ptb-tuning.c:100:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 100 | write(fd, &ptbf->nr_tunings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:101:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 101 | write(fd, unknown, 7); | ^~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:102:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 102 | write(fd, "CTuning", 7); /* Class name */ | ^~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:107:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 107 | write(fd, &name_len, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:109:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 109 | write(fd, ptbf->tunings[i].name, name_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:111:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 111 | write(fd, &ptbf->tunings[i].capo, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:112:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 112 | write(fd, &ptbf->tunings[i].nr_strings, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:113:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 113 | write(fd, ptbf->tunings[i].strings, ptbf->tunings[i].nr_strings); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ptb-tuning.c:115:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 115 | write(fd, &next, 2); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libptb.so.0 -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -Wl,-O1 -Wl,--as-needed -o libptb.so.0.5.0 ptb.po gp.po ptb-tuning.po x86_64-pc-linux-gnu-ar rs libptb.a ptb.o gp.o ptb-tuning.o x86_64-pc-linux-gnu-ar: creating libptb.a >>> Source compiled. >>> Test phase: media-sound/ptabtools-0.5.0 make -j1 check x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c tests/check.c -o tests/check.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -DHAVE_CONFIG_H= -I. -c tests/ptb.c -o tests/ptb.o In file included from tests/ptb.c:20: tests/ptb.c: In function ‘test_get_step_fn’: tests/ptb.c:29:12: error: storage class specified for parameter ‘test_get_tone_fn’ 29 | START_TEST(test_get_tone) | ^~~~~~~~~~~~~ tests/ptb.c:29:12: error: storage class specified for parameter ‘test_get_tone_ttest’ 29 | START_TEST(test_get_tone) | ^~~~~~~~~~~~~ tests/ptb.c:29:1: error: parameter ‘test_get_tone_ttest’ is initialized 29 | START_TEST(test_get_tone) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:29:12: error: storage class specified for parameter ‘test_get_tone’ 29 | START_TEST(test_get_tone) | ^~~~~~~~~~~~~ tests/ptb.c:29:1: error: parameter ‘test_get_tone’ is initialized 29 | START_TEST(test_get_tone) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:30:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 30 | fail_unless(strcmp(ptb_get_tone(18), "D") == 0, "got %s", ptb_get_tone(18)); | ^~~~~~ tests/ptb.c:31:2: error: expected declaration specifiers before ‘(’ token 31 | fail_unless(strcmp(ptb_get_tone(17), "C#") == 0, "got %s", ptb_get_tone(17)); | ^~~~~~~~~~~ tests/ptb.c:34:12: error: storage class specified for parameter ‘test_get_tone_empty_fn’ 34 | START_TEST(test_get_tone_empty) | ^~~~~~~~~~~~~~~~~~~ tests/ptb.c:34:12: error: storage class specified for parameter ‘test_get_tone_empty_ttest’ 34 | START_TEST(test_get_tone_empty) | ^~~~~~~~~~~~~~~~~~~ tests/ptb.c:34:1: error: parameter ‘test_get_tone_empty_ttest’ is initialized 34 | START_TEST(test_get_tone_empty) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:34:12: error: storage class specified for parameter ‘test_get_tone_empty’ 34 | START_TEST(test_get_tone_empty) | ^~~~~~~~~~~~~~~~~~~ tests/ptb.c:34:1: error: parameter ‘test_get_tone_empty’ is initialized 34 | START_TEST(test_get_tone_empty) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:35:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 35 | fail_unless(strcmp(ptb_get_tone(1), "") == 0, "got %s", ptb_get_tone(1)); | ^~~~~~ tests/ptb.c:38:12: error: storage class specified for parameter ‘test_get_tone_invalid_fn’ 38 | START_TEST(test_get_tone_invalid) | ^~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:38:12: error: storage class specified for parameter ‘test_get_tone_invalid_ttest’ 38 | START_TEST(test_get_tone_invalid) | ^~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:38:1: error: parameter ‘test_get_tone_invalid_ttest’ is initialized 38 | START_TEST(test_get_tone_invalid) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:38:12: error: storage class specified for parameter ‘test_get_tone_invalid’ 38 | START_TEST(test_get_tone_invalid) | ^~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:38:1: error: parameter ‘test_get_tone_invalid’ is initialized 38 | START_TEST(test_get_tone_invalid) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:39:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 39 | fail_unless(strcmp(ptb_get_tone(30), "_UNKNOWN_CHORD_") == 0, "got %s", ptb_get_tone(30)); | ^~~~~~ tests/ptb.c:43:12: error: storage class specified for parameter ‘test_get_tone_full_fn’ 43 | START_TEST(test_get_tone_full) | ^~~~~~~~~~~~~~~~~~ tests/ptb.c:43:12: error: storage class specified for parameter ‘test_get_tone_full_ttest’ 43 | START_TEST(test_get_tone_full) | ^~~~~~~~~~~~~~~~~~ tests/ptb.c:43:1: error: parameter ‘test_get_tone_full_ttest’ is initialized 43 | START_TEST(test_get_tone_full) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:43:12: error: storage class specified for parameter ‘test_get_tone_full’ 43 | START_TEST(test_get_tone_full) | ^~~~~~~~~~~~~~~~~~ tests/ptb.c:43:1: error: parameter ‘test_get_tone_full’ is initialized 43 | START_TEST(test_get_tone_full) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:44:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 44 | fail_unless(strcmp(ptb_get_tone_full(18), "d") == 0, "got %s", ptb_get_tone_full(18)); | ^~~~~~ tests/ptb.c:45:2: error: expected declaration specifiers before ‘(’ token 45 | fail_unless(strcmp(ptb_get_tone_full(17), "cis") == 0, "got %s", ptb_get_tone_full(17)); | ^~~~~~~~~~~ tests/ptb.c:48:12: error: storage class specified for parameter ‘test_get_tone_full_empty_fn’ 48 | START_TEST(test_get_tone_full_empty) | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:48:12: error: storage class specified for parameter ‘test_get_tone_full_empty_ttest’ 48 | START_TEST(test_get_tone_full_empty) | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:48:1: error: parameter ‘test_get_tone_full_empty_ttest’ is initialized 48 | START_TEST(test_get_tone_full_empty) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:48:12: error: storage class specified for parameter ‘test_get_tone_full_empty’ 48 | START_TEST(test_get_tone_full_empty) | ^~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:48:1: error: parameter ‘test_get_tone_full_empty’ is initialized 48 | START_TEST(test_get_tone_full_empty) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:49:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 49 | fail_unless(strcmp(ptb_get_tone_full(1), "_UNKNOWN_CHORD_") == 0, "got %s", ptb_get_tone_full(1)); | ^~~~~~ tests/ptb.c:52:12: error: storage class specified for parameter ‘test_get_tone_full_invalid_fn’ 52 | START_TEST(test_get_tone_full_invalid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:52:12: error: storage class specified for parameter ‘test_get_tone_full_invalid_ttest’ 52 | START_TEST(test_get_tone_full_invalid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:52:1: error: parameter ‘test_get_tone_full_invalid_ttest’ is initialized 52 | START_TEST(test_get_tone_full_invalid) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:52:12: error: storage class specified for parameter ‘test_get_tone_full_invalid’ 52 | START_TEST(test_get_tone_full_invalid) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tests/ptb.c:52:1: error: parameter ‘test_get_tone_full_invalid’ is initialized 52 | START_TEST(test_get_tone_full_invalid) | ^~~~~~~~~~ In file included from tests/ptb.c:20: tests/ptb.c:53:14: error: expected declaration specifiers or ‘...’ before ‘strcmp’ 53 | fail_unless(strcmp(ptb_get_tone_full(15), "_UNKNOWN_CHORD_") == 0, "got %s", ptb_get_tone_full(15)); | ^~~~~~ tests/ptb.c:57:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 57 | { | ^ In file included from tests/ptb.c:20: tests/ptb.c:26:12: error: old-style parameter declarations in prototyped function definition 26 | START_TEST(test_get_step) | ^~~~~~~~~~~~~ tests/ptb.c:69: error: expected ‘{’ at end of input 69 | } | In file included from tests/ptb.c:20: At top level: tests/ptb.c:26:12: warning: ‘test_get_step’ defined but not used [-Wunused-variable] 26 | START_TEST(test_get_step) | ^~~~~~~~~~~~~ make: *** [Makefile:17: tests/ptb.o] Error 1 * ERROR: media-sound/ptabtools-0.5.0::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 1150: Called default * phase-functions.sh, line 855: Called default_src_test * phase-functions.sh, line 884: Called __eapi0_src_test * phase-helpers.sh, line 779: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=media-sound/ptabtools-0.5.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/ptabtools-0.5.0::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:ptabtools-0.5.0:20200202-014339.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/ptabtools-0.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/ptabtools-0.5.0/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/ptabtools-0.5.0/work/ptabtools-0.5.0' * S: '/var/tmp/portage/media-sound/ptabtools-0.5.0/work/ptabtools-0.5.0'