=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xml2doc-20030510nb14 Building xml2doc /opt/pkg/bin/gmake -C src/ build gmake[1]: Entering directory '/opt/work/textproc/xml2doc/work/xml2doc/src' gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" main.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" defs.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_include.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_info.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_img.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_t.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_page.c parse_page.c:14:35: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"end"),Doc[n].std.page_end); ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:14:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"end"),Doc[n].std.page_end); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_page.c:15:35: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:15:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:8:31: note: passing argument to parameter 'str' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_page.c:19:35: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:19:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:8:31: note: passing argument to parameter 'str' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_page.c:38:28: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] str=xmlGetProp(Doc[n].cur,"type"); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:42:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str,pages[i].name)) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_page.c:51:28: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"left")) ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:52:53: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margeleft=atof(xmlGetProp(Doc[n].cur,"left")); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:52:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margeleft=atof(xmlGetProp(Doc[n].cur,"left")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_page.c:53:28: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"top")) ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:54:70: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margetop=Doc[n].now.height-atof(xmlGetProp(Doc[n].cur,"top")); ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:54:48: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margetop=Doc[n].now.height-atof(xmlGetProp(Doc[n].cur,"top")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_page.c:55:28: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"bottom")) ^~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:56:55: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margebottom=atof(xmlGetProp(Doc[n].cur,"bottom")); ^~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:56:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.margebottom=atof(xmlGetProp(Doc[n].cur,"bottom")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_page.c:59:35: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:59:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_page.c:61:34: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((str2=xmlGetProp(Doc[n].cur,"num"))) ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:62:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] DocS.page=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ defs.c:13:1: warning: non-void function does not return a value [-Wreturn-type] } ^ parse_page.c:67:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for( i=strlen(str);i;i-- ) if(str[i]=='\n') str[i]=' '; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: defs.cnote:31:4: warning: initializing 'xmlChar *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] : passing argument to parameter '__s' here "Times-Roman", // *fnt ^~~~~~~~~~~~~ defs.c:32:4: warning: initializing 'xmlChar *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] size_t strlen(const char *__s); "./", // *path ^~~~ ^ parse_page.c:71:19: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("t",page->name)) // Text block ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ parse_page.c:74:21: warning: parse_img.cpassing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :8:23: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!xmlGetProp(page,"src") ) { ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_img.c:10:29: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] else src=xmlGetProp(page,"src"); ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_img.c:11:23: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] type=xmlGetProp(page,"type"); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_img.c:12:11: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r=strlen(src)-3; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: if (!strcmp("img",page->name)) // Image block ^~~~~~~~~~ parse_include.cnote: passing argument to parameter '__s' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here size_t strlen(const char *__s); ^ :7:34: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_img.c:15:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (( str=xmlGetProp(Doc[n].cur,"src") )) ^~~~~ int strcmp(const char *__s1, const char *__s2); ^ if (!strcmp("png",src+r)) type="png"; else ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here parse_page.c: const xmlChar *name); ^ 77:26: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77 if (!strcmp("bookmark",page->name)) // bookmark tag ^~~~~~~~~~ :43: note: passing argument to parameter '__s2' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ int strcmp(const char *__s1, const char *__s2); ^ parse_img.c:15:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] parse_page.c:80:21: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("png",src+r)) type="png"; else ^~~~~~ if (!strcmp("sep",page->name)) // Separator tag ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here parse_img.cint strcmp(const char *__s1, const char *__s2);:16:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ if (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here parse_page.c:83:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int strcmp(const char *__s1, const char *__s2); ^ if (!strcmp("list",page->name)) // Separator tag ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.hparse_img.c:16:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] :77:43: note: passing argument to parameter '__s2' here if (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ int strcmp(const char *__s1, const char *__s2); ^ parse_img.c:17:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_page.c:86:21: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("gif",src+r)) type="gif"; else ^~~~~ if (!strcmp("eof",page->name)) { ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77int strcmp(const char *__s1, const char *__s2); ^ :43: note: passing argument to parameter '__s2' here parse_img.c:17int strcmp(const char *__s1, const char *__s2); ^ :34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] parse_page.c:89:21: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("gif",src+r)) type="gif"; else if (strcmp("text",page->name)&& ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here ^~~~~~ int strcmp(const char *__s1, const char *__s2); ^ parse_img.c:18:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_page.c:90:24: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("iff",src+r)) type="tiff"; ^~~~~ strcmp("comment",page->name)) ^~~~~~~~~~ parse_t.c:8:22/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:parse.c:26:25: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : : if (!strcmp("default",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 77:43: if (xmlGetProp(page,"font")) ^~~~~~ note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here 77: const xmlChar *name); ^ 43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ int strcmp(const char *__s1, const char *__s2); ^ parse.c:29:23: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_img.c:18:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("reset",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ parse_t.c:9:34: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("iff",src+r)) type="tiff"; Doc[n].now.fnt=xmlGetProp(page,"font"); ^~~~~~ ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43parse_img.c:21:23: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : text=xmlGetProp(page,"text"); ^~~~~~ note: passing argument to parameter '__s2' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here int strcmp(const char *__s1, const char *__s2); ^ const xmlChar *name); ^ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:parse.c:32322:parse_t.c:13:30:: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]note : parm_value(xmlGetProp(page,"size"),122 warning: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning passing argument to parameter 'name' here generated if (!strcmp("info",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~s const xmlChar *name); generated. . ^~~~~~ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43parse_img.c:23:34: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : note: passing argument to parameter '__s2' here x = parm_value( xmlGetProp(page,"x"), ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here int strcmp(const char *__s1, const char *__s2); ^ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030 const xmlChar *name); ^:22 parse.c: note: passing argument to parameter 'name' here :35:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_t.c:13:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] const xmlChar *name); parm_value(xmlGetProp(page,"size"), ^~~~~~~~~~~~~~~~~~~~~~~ ^ if (!strcmp("page",Doc[n].cur->name)) { ./parm.h:9parse_img.cgcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_default.c ::23:18:25 warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~: note : passing argument to parameter 'str' here/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h x = parm_value( xmlGetProp(page,"x"), : 77:int parm_value (char *str,int *ref,int total); ^ 43 ^~~~~~~~~~~~~~~~~~~~ : note: passing argument to parameter '__s2' here gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_bookmark.c int strcmp(const char *__s1, const char *__s2); ^parse_t.c./parm.h:9:25: note: passing argument to parameter 'str' here :18int parm_value (char *str,int *ref,int total); :38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ Doc[n].now.font=PDF_findfont(DocS.p,Doc[n].now.fnt,"host",0); ^~~~~~~~~~~~~~ parse.c:38:25: /opt/work/textproc/xml2doc/work/.buildlink/include/pdflib.h:239:34: note: passing argument to parameter 'fontname' here warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_img.c:26:34: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] PDF_findfont(PDF *p, const char *fontname, const char *encoding, int embed); ^ if (!strcmp("include",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ y = parm_value( xmlGetProp(page,"y"), ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:77::1030:parse_t.c:23:29: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 43: parm_bool(xmlGetProp(page,"underline"),Doc[n].std.underline); 22 ^~~~~~~~~~~: note: passing argument to parameter 'name' here note: passing argument to parameter '__s2' here const xmlChar *name); ^ int strcmp(const char *__s1, const char *__s2); ^ parse_img.c:26: 18/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here :gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_add.c parse.c:41:21: const xmlChar *name); warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: y = parm_value( xmlGetProp(page,"y"), ^~~~~~~~~~~~~~~~~~~~ passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ if (!strcmp("add",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ parse_t.c:23:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./parm.h:9:25: note: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.hpassing argument to parameter 'str' here : parm_bool(xmlGetProp(page,"underline"),Doc[n].std.underline); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ int parm_value (char *str,int *ref,int total); ^ ./parm.h:6:31: note: passing argument to parameter 'str' here 77parse_img.c:bool parm_bool (const char *str, bool ref);29:43: note: passing argument to parameter '__s2' here : ^ int strcmp(const char *__s1, const char *__s2); ^parse_t.c:25:29: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]22: parse.c: 44 parm_bool(xmlGetProp(page,"overline"),Doc[n].std.overline);: 21 ^~~~~~~~~~ :/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.hwarning : warningpassing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : : buf=xmlGetProp(page,"scale"); passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~1030 :22: /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030 if (!strcmp("eof",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ note/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:22:77:43: note: passing argument to parameter '__s2' here : :passing argument to parameter 'name' here note: passing argument to parameter 'name' here const xmlChar *name);int strcmp(const char *__s1, const char *__s2); ^ ^ const xmlChar *name); ^ parse.c: 47parse_img.c:30::21parse_t.c:25::13: 33warning: warning: : warningpassing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(page,"overline"),Doc[n].std.overline); if (strcmp("text",Doc[n].cur->name) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~ if (!buf) s=1.0f; else s=atof(buf); ^~~./parm.h:6 ^~~~~~~~~~~~~~~~: 31:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h: 77:43: note: passing argument to parameter '__s2' here note: passing argument to parameter 'str' here :134:int strcmp(const char *__s1, const char *__s2);26: note: passing argument to parameter herebool parm_bool (const char *str, bool ref); ^ double atof(const char *); parse_t.c:27:29: warning ^ ^ parse.c:: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_img.c parm_bool(xmlGetProp(page,"strikeout"),Doc[n].std.strikeout); ^~~~~~~~~~~:32:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] 48:24: output_image(src,type,text,s,x,y); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h./output.h::22:warning21: :1030:22: notepassing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]: passing argument to parameter 'name' here note: strcmp("comment",Doc[n].cur->name)) { const xmlChar *name); ^ ^~~~~~~~~~~~~~~~ passing argument to parameter 'f' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:parse_t.c:27 output_image(char *f,char *type, char *text, float s, int x, int y), 43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ :13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ parm_bool(xmlGetProp(page,"strikeout"),Doc[n].std.strikeout);parse_img.c:32:19: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ output_image(src,type,text,s,x,y); ^~~~ ./output.h:22:29: note: passing argument to parameter 'type' here ./parm.h:6:31: output_image(char *f,char *type, char *text, float s, int x, int y), ^ note: passing argument to parameter 'str' here parse_img.c:32:24: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]bool parm_bool (const char *str, bool ref); ^ output_image(src,type,text,s,x,y); ^~~~ parse_t.c:29:29: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ./output.h:22:41: note: passing argument to parameter 'text' here parm_bool(xmlGetProp(page,"bold"),Doc[n].std.bold); ^~~~~~ output_image(char *f,char *type, char *text, float s, int x, int y),/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here ^ const xmlChar *name); ^ parse_t.c:29:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_list.c parm_bool(xmlGetProp(page,"bold"),Doc[n].std.bold); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_t.c:31:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((str2=xmlGetProp(page,"wordspacing"))) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:32:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.wordspacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_t.c:35:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((str2=xmlGetProp(page,"charspacing"))) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:36:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.charspacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_t.c:39:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((str2=xmlGetProp(page,"linespacing"))) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:40:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.linespacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_t.c:46:29: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(page,"trim"),Doc[n].std.trim); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:46:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(page,"trim"),Doc[n].std.trim); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_t.c:48:35: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((str2=xmlGetProp(page,"align"))) ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:50:22: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str2,"right")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_t.c:52:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str2,"left")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_t.c:54:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str2,"center")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_t.c:56:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str2,"justify")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_t.c:62:29: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:62:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:8:31: note: passing argument to parameter 'str' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_t.c:64:22: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:64:68: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:64:52: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_t.c:65:29: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ( (str2=xmlGetProp(page,"y")) ) ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:69:7: warning: equality comparison result unused [-Wunused-comparison] lead==PDF_get_value(DocS.p,"leading",0.0f); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_t.c:69:7: note: use '=' to turn this equality comparison into an assignment lead==PDF_get_value(DocS.p,"leading",0.0f); ^~ = parse_t.c:71:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str2,"up")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_t.c:77:43: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:77:27: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ 30 warnings generated. 9 warnings generated. gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_sep.c gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_t.c 22 warnings generated. gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_doc.c 36 warnings generated. gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_img.c parse_default.c:7:28: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"font") ) ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:8:42: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.fnt=xmlGetProp(Doc[n].cur,"font"); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:11:35: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:11:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_default.c:13:28: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"size")) ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:14:47: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:14:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_default.c:15:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"linespacing")) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:16:53: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.linespacing=atoi(xmlGetProp(Doc[n].cur,"linespacing")); ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:16:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.linespacing=atoi(xmlGetProp(Doc[n].cur,"linespacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_default.c:17:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"wordspacing")) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:18:53: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.wordspacing=atoi(xmlGetProp(Doc[n].cur,"wordspacing")); ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:18:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.wordspacing=atoi(xmlGetProp(Doc[n].cur,"wordspacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_default.c:19:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"charspacing")) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:20:53: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.charspacing=atoi(xmlGetProp(Doc[n].cur,"charspacing")); ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:20:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.charspacing=atoi(xmlGetProp(Doc[n].cur,"charspacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_default.c:21:28: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"x")) ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:22:47: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.textx=atof(xmlGetProp(Doc[n].cur,"x")); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:22:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.textx=atof(xmlGetProp(Doc[n].cur,"x")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:23:28: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"y")) ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:24:47: warning: passing 'char [2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.texty=atof(xmlGetProp(Doc[n].cur,"y")); ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:24:25: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.texty=atof(xmlGetProp(Doc[n].cur,"y")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:25:28: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margetop")) ^~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:26:50: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margetop=atof(xmlGetProp(Doc[n].cur,"margetop")); ^~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:26:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margetop=atof(xmlGetProp(Doc[n].cur,"margetop")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:27:28: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margebottom")) ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:28:53: warning: passing 'char [12]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margebottom=atof(xmlGetProp(Doc[n].cur,"margebottom")); ^~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:28:31: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margebottom=atof(xmlGetProp(Doc[n].cur,"margebottom")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:29:28: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margeleft")) ^~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:30:51: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margeleft=atof(xmlGetProp(Doc[n].cur,"margeleft")); ^~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:30:29: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margeleft=atof(xmlGetProp(Doc[n].cur,"margeleft")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:31:28: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margeright")) ^~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:32:69: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margeright=Doc[n].std.width-atof(xmlGetProp(Doc[n].cur,"margeright")); ^~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:32:47: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Doc[n].std.margeright=Doc[n].std.width-atof(xmlGetProp(Doc[n].cur,"margeright")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_default.c:35:35: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"trim"), true); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:35:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"trim"), true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_default.c:37:35: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"underline"), false); ^~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_default.c:37:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"underline"), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here parse_bookmark.cbool parm_bool (const char *str, bool ref);:7:32: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ^ open = parm_bool(xmlGetProp(p,"open"),false); ^~~~~~ parse_default.c:39:35: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here parm_bool(xmlGetProp(Doc[n].cur,"overline"), false); ^~~~~~~~~~ const xmlChar *name); ^ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here parse_bookmark.c:7:19: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] const xmlChar *name); ^ open = parm_bool(xmlGetProp(p,"open"),false); ^~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' hereparse_add.c:15:parse_default.c:39:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"overline"), false); bool parm_bool (const char *str, bool ref); ^ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *type=xmlGetProp(Doc[n].cur,"type"), ^~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here parse_bookmark.c: const xmlChar *name); ^ 9:25: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] bool parm_bool (const char *str, bool ref); if (!(buf=xmlGetProp(p,"node"))) ^~~~~~ ^ parse_add.c:16:31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_default.c:41:35: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] *name=xmlGetProp(Doc[n].cur,"name"); ^~~~~~ parm_bool(xmlGetProp(Doc[n].cur,"strikeout"), false); ^~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h: const xmlChar *name); ^ 1030:parse_default.c:41:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 22: parm_bool(xmlGetProp(Doc[n].cur,"strikeout"), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: passing argument to parameter 'name' here ./parm.h:6:31: note: passing argument to parameter 'str' here const xmlChar *name); bool parm_bool (const char *str, bool ref); ^ ^ const xmlChar *name); ^ parse_default.c:43:42: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_bookmark.c:11:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_add.c:20:14: warningparse_list.c:8:26 parm_color(xmlGetProp(Doc[n].cur,"bgcolor"),:: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(type,"color")) else node=atoi(buf); titol = xmlGetProp(page,"titol"); ^~~~~~~ ^~~ ^~~~~~~~~ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here :135int strcmp(const char *__s1, const char *__s2); ^ :23: note: passing argument to parameter here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.hint atoi(const char *); ^ :1030:parse_bookmark.c:13:25: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 22: note: passing argument to parameter 'name' here if (!(buf=xmlGetProp(p,"name"))) { const xmlChar *name); ^ ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here parse_add.c/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h::1030parse_default.c25:22: note: passing argument to parameter 'name' here :43:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] const xmlChar *name); ^ :16:parse_list.c:9:23: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( xmlGetProp(page,"depth") ) ^~~~~~~ const xmlChar *name); ^ parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here if (!strcmp(name,DocS.add.colors[i].name)) ^~~~ parse_bookmark.c:23:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here ./parm.h:8:31: note: passing argument to parameter 'str' here const xmlChar *name); ^void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ PDF_add_bookmark(DocS.p,buf,node,open)); ^~~ int strcmp(const char *__s1, const char *__s2); ^ parse_default.c:47:42: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_list.c:10:32: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] /opt/work/textproc/xml2doc/work/.buildlink/include/pdflib.h:582:38: note: passing argument to parameter 'text' here parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~ PDF_add_bookmark(PDF *p, const char *text, int parent, int open); ^ parse_add.c:33:49: depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~ warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030 DocS.add.colors[i].name=(char *)malloc(strlen(name)+1); ^~~~ :22: note: passing argument to parameter 'name' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h: const xmlChar *name); ^ 82:parse_list.c:10:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 28: note: passing argument to parameter '__s' here const xmlChar *name); ^ depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~~~~~~~~~~~~~~~~~~parse_default.c:47:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] size_t strlen(const char *__s); parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./parm.h:8:31: note: passing argument to parameter 'str' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here parse_add.c:34:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int atoi(const char *); ^ void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_list.c:12:25: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_default.c:51:33: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] type = xmlGetProp(page,"type"); if ((str=xmlGetProp(Doc[n].cur,"align"))) ^~~~~~~ ^~~~~~ strcpy(DocS.add.colors[i].name,name); ^~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h: const xmlChar *name); ^ 84:33: note: expanded from macro 'strcpy' parse_default.c:53:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here if (!strcmp(str,"right")) ^~~ const xmlChar *name); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here parse_list.c:int strcmp(const char *__s1, const char *__s2); ^ 14:22: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ if (type && !strcmp(type,"index") && xmlGetProp(page,"pag") ) ^~~~ parse_default.c:55:15:parse_add.c:35:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(str,DocS.add.colors[i].rgb,Doc[n].std.text_c); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here if (!strcmp(str,"left")) int strcmp(const char *__s1, const char *__s2); ^ ^~~ ./parm.h:8:31: note: passing argument to parameter 'str' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77parse_list.c:14void parm_color (const char *str, unsigned char *ptr, unsigned char *ref);:25: note: passing argument to parameter '__s1' here :55int strcmp(const char *__s1, const char *__s2); ^ : warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_default.c:57:15: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(str,"center")) ^~~ parse_sep.coutput_t.c::9: if (type && !strcmp(type,"index") && xmlGetProp(page,"pag") )16: 10warning: ^passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h::7729:: warning len = strlen(str);: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~ 25: ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h ^~~~~: 82:28/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h: note: :passing argument to parameter '__s' here noteparse_add.c:38/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.hsize_t strlen(const char *__s); ^:1030:22 : passing argument to parameter '__s1' here :14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int strcmp(const char *__s1, const char *__s2); ^output_t.c: 1030:22: note: :noteparse_default.c:59:2215: : if (!strcmp(type,"size")) : ^~~~ passing argument to parameter 'name' herewarning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]13/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h: passing argument to parameter 'name' here : const xmlChar *name); if (!strcmp(str,"justify")) ^~~77 const xmlChar *name); ^ ^ warningparse_sep.c: :passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]10:13:: warning /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h25::77 :note25: : note: passing argument to parameter '__s1' hereparse_list.c passing argument to parameter '__s1' here i+=strlen(str+i)+1;:: int strcmp(const char *__s1, const char *__s2);passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ 16: 30 ^~~~~: int strcmp(const char *__s1, const char *__s2); ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.hparse_add.c :warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]:6 parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~~~~~~~~~~~~~~~~~~ warning41:14 82:s: warning: generatedpassing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 28 :. note: passing argument to parameter '__s' here if (!strcmp(type,"page")) ^~~~ size_t strlen(const char *__s); ^ ./parm.h:8:31: note: passing argument to parameter 'str' here pag = atoi(xmlGetProp(page,"pag")); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here output_t.c:39:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int strcmp(const char *__s1, const char *__s2); for( i=0;i78) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: size = parm_value(xmlGetProp(page,"size"), &size, 100); ^~~~~~~~~~~~~~~~~~~~~~~passing argument to parameter '__s' here9 warnings generated 1030. :22: note./parm.h: passing argument to parameter 'name' here size_t strlen(const char *__s); ^ :9: const xmlChar *name); ^ 25: note: passing argument to parameter 'str' here parse_list.c:23:int parm_value (char *str,int *ref,int total); ^ 14: warningparse_sep.c:15:37: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output_t.c:89 parm_color( xmlGetProp(page,"color"), width = parm_value(xmlGetProp(page,"width"), &width, ^~~~~~~ :/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:271030: :warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~~~~~ 22./parm.h: :8:31: note: passing argument to parameter 'str' here len2=(int)((78-strlen(str+i))/2);note: passing argument to parameter 'name' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^~~~~ const xmlChar *name);/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h ^:82:28: note: passing argument to parameter '__s' heregcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_sep.c parse_list.c ^ :25:25: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] parse_sep.c:15:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] size_t strlen(const char *__s); link = xmlGetProp(page,"link"); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: width = parm_value(xmlGetProp(page,"width"), &width, ^~~~~~~~~~~~~~~~~~~~~~~~ ^./parm.hnote: :9:25: note: passing argument to parameter 'str' here passing argument to parameter 'name' here int parm_value (char *str,int *ref,int total); const xmlChar *name);output_t.c:114:28 ^ ^ : warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_list.c:31 for (i=0;i "); ~~^ output_list.c:50:38: warning: invalid conversion specifier '"' [-Wformat-invalid-specifier] fprintf(DocS.fd, ""); ~^ 2 warnings generated. 20 warnings generated. Linking objects... gcc -L/opt/pkg/lib -L/opt/pkg/lib -L/usr/lib -lxml2 -L/opt/pkg/lib -lpdf -L/opt/pkg/lib -L/usr/lib -lpng -ltiff -lz main.o defs.o parse.o parse_include.o parse_info.o parse_img.o parse_t.o parse_page.o parse_default.o parse_bookmark.o parse_add.o parse_list.o parse_sep.o output_t.o output_doc.o output_img.o output_info.o output_page.o output_sep.o output_list.o parm.o -o xml2doc Stripping symbols... fatal error: /Library/Developer/CommandLineTools/usr/bin/strip: no files specified gmake[1]: *** [Makefile:34: build] Error 1 gmake[1]: Leaving directory '/opt/work/textproc/xml2doc/work/xml2doc/src' gmake: *** [Makefile:11: build] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/xml2doc *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/xml2doc