=> 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.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)) { ^~~~~~~~~~~~~~~~ /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.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] if (!strcmp("reset",Doc[n].cur->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.c:32: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] if (!strcmp("info",Doc[n].cur->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.c: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] if (!strcmp("page",Doc[n].cur->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.c:38: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("include",Doc[n].cur->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.c:41: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("add",Doc[n].cur->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.c:44: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("eof",Doc[n].cur->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.c:47: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("text",Doc[n].cur->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.c:48: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] strcmp("comment",Doc[n].cur->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_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 *); ^ 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: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 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: 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("img",page->name)) // Image 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: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] if (!strcmp("bookmark",page->name)) // bookmark tag ^~~~~~~~~~ /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: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("sep",page->name)) // Separator tag ^~~~~~~~~~ /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: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] defs.c:13:1: warning: non-void function does not return a value [-Wreturn-type] } ^ if (!strcmp("list",page->name)) // Separator tag ^~~~~~~~~~ /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); ^ defs.c: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] "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] "./", // *path ^~~~ 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("eof",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_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] gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_default.c 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_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] strcmp("comment",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_t.c:8:22: 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(page,"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_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] Doc[n].now.fnt=xmlGetProp(page,"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_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] parm_value(xmlGetProp(page,"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_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] parm_value(xmlGetProp(page,"size"), ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ parse_t.c:18: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); ^~~~~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/pdflib.h:239:34: note: passing argument to parameter 'fontname' here PDF_findfont(PDF *p, const char *fontname, const char *encoding, int embed); ^ 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] parm_bool(xmlGetProp(page,"underline"),Doc[n].std.underline); ^~~~~~~~~~~ /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: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_bool(xmlGetProp(page,"underline"),Doc[n].std.underline); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ 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] parm_bool(xmlGetProp(page,"overline"),Doc[n].std.overline); ^~~~~~~~~~ /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:25: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,"overline"),Doc[n].std.overline); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_t.c:27: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] parm_bool(xmlGetProp(page,"strikeout"),Doc[n].std.strikeout); ^~~~~~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 9 warnings generated. parse_t.c:27: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ 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] parm_bool(xmlGetProp(page,"bold"),Doc[n].std.bold); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_include.c:7:34: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] 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(page,"bold"),Doc[n].std.bold); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note if (( str=xmlGetProp(Doc[n].cur,"src") )) ^~~~~ : 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 bool parm_bool (const char *str, bool ref); ^ const xmlChar *name);gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_bookmark.c 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); ^ 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_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: warningparse_img.c: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]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")) ^~~~ if (!xmlGetProp(page,"src") ) { ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:int strcmp(const char *__s1, const char *__s2); ^ 22: note: passing argument to parameter 'name' here parse_t.c: const xmlChar *name); ^ 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] 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] if (!strcmp(str2,"left")) ^~~~ else src=xmlGetProp(page,"src"); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' 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); ^ 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] parse_t.c r=strlen(src)-3;: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:82:28: note: passing argument to parameter '__s' here ^~~~ size_t strlen(const char *__s); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here parse_img.cint strcmp(const char *__s1, const char *__s2); ^ :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] 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("png",src+r)) type="png"; else if (!strcmp(str2,"justify")) ^~~~ ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' 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 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] 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] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~ 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 1 warning generated. const xmlChar *name); ^ parse_img.c: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] parse_t.c:62:133 warnings generated. if (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ : 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); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here ./parm.h:8:31: note: passing argument to parameter 'str' here int strcmp(const char *__s1, const char *__s2); ^ void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_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] 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 (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ parse_img.c:17:21: warning: if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x"));passing 'xmlChar *' (aka '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 ^~~gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_list.c ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77 :43: note/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h: :1030:22: note: passing argument to parameter 'name' here passing argument to parameter '__s2' here const xmlChar *name); int strcmp(const char *__s1, const char *__s2); ^ ^parse_img.c:17:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp("gif",src+r)) type="gif"; else 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")); ^~~ 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] if (!strcmp("iff",src+r)) type="tiff"; ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h: :passing argument to parameter 'name' here 77 const xmlChar *name); ^ :43: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")); ^~~~~~~~~~~~~~~~~~~~ note: passing argument to parameter '__s2' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.hint strcmp(const char *__s1, const char *__s2); :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] parse_img.c if (!strcmp(str2,"up")) :18: ^~~~34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [5]' 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 int strcmp(const char *__s1, const char *__s2); ^ if (!strcmp("iff",src+r)) type="tiff"; gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_sep.c ^~~~~~~ parse_img.c:21:23: 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] warning Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~: passing 'char [5]' 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: text=xmlGetProp(page,"text");note ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here : const xmlChar *name); ^ passing argument to parameter 'name' hereparse_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] x = parm_value( xmlGetProp(page,"x"), ^~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: 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] note: passing argument to parameter 'name' here 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 const xmlChar *name); ^ double atof(const char *); ^ parse_img.c:23:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] x = parm_value( xmlGetProp(page,"x"), ^~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ 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] y = parm_value( 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_img.c:26:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] y = parm_value( xmlGetProp(page,"y"), ^~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ parse_img.c:29:22: 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] buf=xmlGetProp(page,"scale"); ^~~~~~~ /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:30:33: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!buf) s=1.0f; else s=atof(buf); 30 warnings generated. ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_img.c:32:15: 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:21: note: passing argument to parameter 'f' here output_image(char *f,char *type, char *text, float s, int x, int y), ^ 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 output_image(char *f,char *type, char *text, float s, int x, int y), ^ 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] output_image(src,type,text,s,x,y); ^~~~ ./output.h:22:41: note: passing argument to parameter 'text' here gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_t.c output_image(char *f,char *type, char *text, float s, int x, int y), ^ 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 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 36 warnings generated. 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_img.c ./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 bool parm_bool (const char *str, bool ref); ^ 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] parm_bool(xmlGetProp(Doc[n].cur,"overline"), 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: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] parm_bool(xmlGetProp(Doc[n].cur,"overline"), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ 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] 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 const xmlChar *name); ^ 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] parm_bool(xmlGetProp(Doc[n].cur,"strikeout"), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ 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] 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_default.c: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] 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_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] 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_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] 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_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] if ((str=xmlGetProp(Doc[n].cur,"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_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] if (!strcmp(str,"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_default.c:55: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,"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_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")) ^~~ /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_default.c:59: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,"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_list.c:8:26: 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] titol = xmlGetProp(page,"titol"); ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 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] if ( xmlGetProp(page,"depth") ) ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 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] depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 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] depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ 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] 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_list.c: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] if (type && !strcmp(type,"index") && xmlGetProp(page,"pag") ) ^~~~ /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_list.c:14:55: 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 (type && !strcmp(type,"index") && xmlGetProp(page,"pag") ) ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:16:30: 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] pag = atoi(xmlGetProp(page,"pag")); ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:16:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pag = atoi(xmlGetProp(page,"pag")); ^~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_list.c:18: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( type && !strcmp(type,"index") && !xmlGetProp(page,"pag") ) ^~~~ /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_list.c:18:56: 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( type && !strcmp(type,"index") && !xmlGetProp(page,"pag") ) ^~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:23:30: 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"), ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:23:14: 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"), ^~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:8:31: note: passing argument to parameter 'str' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ 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] link = xmlGetProp(page,"link"); ^~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:31: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] if ( xmlGetProp(page,"space") ) ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:32:30: 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] space=atoi(xmlGetProp(page,"space")); ^~~~~~~ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_list.c:32:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] space=atoi(xmlGetProp(page,"space")); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ parse_list.c:34:17: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] if (!type) type="normal"; ^~~~~~~~~ parse_list.c:36:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] output_list(titol , type , depth , pag , link, space ); ^~~~~ ./output.h:25:21: note: passing argument to parameter 'titol' here output_list (char *titol,char *type , ^ parse_list.c:36:22: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] output_list(titol , type , depth , pag , link, space ); ^~~~ ./output.h:25:33: note: passing argument to parameter 'type' here output_list (char *titol,char *type , ^ parse_bookmark.c: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_add.c:15: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] *type=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 /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ const xmlChar *name); ^ 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] 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] open = parm_bool(xmlGetProp(p,"open"),false); ^~~~~~~~~~~~~~~~~~~~ *name=xmlGetProp(Doc[n].cur,"name"); ^~~~~~ ./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 bool parm_bool (const char *str, bool ref); ^ const xmlChar *name); ^ parse_bookmark.c:9parse_add.c:20:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :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] if (!strcmp(type,"color")) if (!(buf=xmlGetProp(p,"node"))) ^~~~~~ ^~~~ /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:77:25: note: passing argument to parameter '__s1' here const xmlChar *name); ^int strcmp(const char *__s1, const char *__s2); ^ 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:25:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else node=atoi(buf); ^~~ if (!strcmp(name,DocS.add.colors[i].name)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int strcmp(const char *__s1, const char *__s2); ^ int atoi(const char *); ^ 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] parse_add.c: if (!(buf=xmlGetProp(p,"name"))) { ^~~~~~ 33:49: warningparse_sep.c:10:29/opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h: 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] DocS.add.colors[i].name=(char *)malloc(strlen(name)+1); ^~~~ :1030:22: note: passing argument to parameter 'name' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); note const xmlChar *name); ^~~~~~~ 20 warnings generated. : passing argument to parameter '__s' here /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: ^ size_t strlen(const char *__s); ^ parse_bookmark.c:23:28: 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] warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DocS.add.colors[i].name,name); ^~~~ PDF_add_bookmark(DocS.p,buf,node,open)); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: /opt/work/textproc/xml2doc/work/.buildlink/include/pdflib.h:582:38: note: passing argument to parameter 'text' here note: expanded from macro 'strcpy' PDF_add_bookmark(PDF *p, const char *text, int parent, int open); ^ passing argument to parameter 'name' here __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ const xmlChar *name); ^ parse_add.c:35parse_sep.c:10:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :14: 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_color(str,DocS.add.colors[i].rgb,Doc[n].std.text_c);./parm.h:8:31: note: passing argument to parameter 'str' here ^~~ ./parm.h:8:31: note: passing argument to parameter 'str' here void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ parse_sep.cparse_add.c:38:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :12:36: 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(type,"size")) ^~~~ line = parm_value(xmlGetProp(page,"line"), &line, 100); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' 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); ^ parse_sep.c:12:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_add.c:41: line = parm_value(xmlGetProp(page,"line"), &line, 100); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here 14: warningint parm_value (char *str,int *ref,int total); ^ output_t.c:9:16: warning: parse_sep.c:13: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 '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] len = strlen(str); if (!strcmp(type,"page"))gcc -O2 -I/opt/pkg/include/libxml2 -I/opt/pkg/include -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_info.c space = parm_value(xmlGetProp(page,"space"), &space, 100); ^~~~~~~ ^~~ ^~~~ /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:82:28: note: passing argument to parameter '__s' here const xmlChar *name); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here size_t strlen(const char *__s); ^ parse_sep.c:13:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] space = parm_value(xmlGetProp(page,"space"), &space, 100); ^~~~~~~~~~~~~~~~~~~~~~~~ int strcmp(const char *__s1, const char *__s2); ^ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ parse_sep.c6 warnings generated. :14:37: warning: output_t.c:22:13: 51warning warnings generated. : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i+=strlen(str+i)+1; ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size = parm_value(xmlGetProp(page,"size"), &size, 100); ^~~~~~ size_t strlen(const char *__s); ^ /opt/work/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_sep.c:14:21: warningoutput_t.c:39:28: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] : warning: size = parm_value(xmlGetProp(page,"size"), &size, 100); ^~~~~~~~~~~~~~~~~~~~~~~ passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./parm.h:9:25: note: passing argument to parameter 'str' here for( i=0;i78) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ output_t.c:89:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len2=(int)((78-strlen(str+i))/2); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 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] for (i=0;i "); ~~^ output_list.c:50:38: warning: invalid conversion specifier '"' [-Wformat-invalid-specifier] fprintf(DocS.fd, ""); ~^ 12 warnings generated. 20 warnings generated. 2 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