=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xml2doc-20030510nb21 Building xml2doc /opt/pkg/bin/gmake -C src/ build gmake[1]: Entering directory '/Users/pbulk/build/textproc/xml2doc/work/xml2doc/src' gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" main.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" defs.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse.c In file included from parse.c:1: ./defs.h:112:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] parse(), ^ parse.c:3:5: note: conflicting prototype is here int parse(const char *file) ^ defs.c:13:1: warning: non-void function does not return a value [-Wreturn-type] } ^ main.c:62:11: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] err=parse(argv[2]); ^ parse.c:26:25: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("default",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("reset",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("info",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("page",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("include",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("add",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("eof",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp("text",Doc[n].cur->name) && ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcmp("comment",Doc[n].cur->name)) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "./", // *path ^~~~ 1 warning generated. 10 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_include.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_info.c 3 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_img.c In file included from parse_img.c:1: ./defs.h:116:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]parse_include.c :7:34: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parse_img(), ^ parse_img.c:3:5: if (( str=xmlGetProp(Doc[n].cur,"src") )) ^~~~~ note: conflicting prototype is here int parse_img(xmlNodePtr page) { ^ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_include.c:10:8: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse(str); ^ parse_img.c:8:23: warning: passing 'char[4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!xmlGetProp(page,"src") ) { ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else src=xmlGetProp(page,"src"); ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] type=xmlGetProp(page,"type"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r=strlen(src)-3; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ parse_img.c:15:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("png",src+r)) type="png"; else ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:15:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("png",src+r)) type="png"; else ^~~~~~ parse_img.c:16:20: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:16:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("pg",src+r+1)) type="jpeg"; else ^~~~~~~ parse_img.c:17:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("gif",src+r)) type="gif"; else ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:17:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("gif",src+r)) type="gif"; else ^~~~~~ parse_img.c:18:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("iff",src+r)) type="tiff"; ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:34: warning: assigning to 'xmlChar *' (aka 'unsigned char *') from 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("iff",src+r)) type="tiff"; ^~~~~~~ parse_img.c:21:23: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] text=xmlGetProp(page,"text"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_img.c:23:34: warning: passing 'char[2]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] x = parm_value( xmlGetProp(page,"x"), ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_img.c:23:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = parm_value( xmlGetProp(page,"y"), ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf=xmlGetProp(page,"scale"); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!buf) s=1.0f; else s=atof(buf); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output_image(src,type,text,s,x,y); ^~~~ ./output.h:22:41: note: passing argument to parameter 'text' here output_image(char *f,char *type, char *text, float s, int x, int y), ^ gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_t.c 2 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_page.c 23 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_default.c In file included from parse_t.c:1: ./defs.h:115:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] parse_t(), ^ parse_t.c:3:5: note: conflicting prototype is here int parse_t(xmlNodePtr page) { ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(page,"font")) ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.fnt=xmlGetProp(page,"font"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_value(xmlGetProp(page,"size"), ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.font=PDF_findfont(DocS.p,Doc[n].now.fnt,"host",0); ^~~~~~~~~~~~~~ /Users/pbulk/build/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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(page,"underline"),Doc[n].std.underline); ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(page,"overline"),Doc[n].std.overline); ^~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(page,"strikeout"),Doc[n].std.strikeout); ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_t.c:27:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(page,"bold"),Doc[n].std.bold); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str2=xmlGetProp(page,"wordspacing"))) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.wordspacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str2=xmlGetProp(page,"charspacing"))) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.charspacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str2=xmlGetProp(page,"linespacing"))) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.linespacing=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(page,"trim"),Doc[n].std.trim); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str2=xmlGetProp(page,"align"))) ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str2,"right")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str2,"left")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str2,"center")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str2,"justify")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( (str2=xmlGetProp(page,"y")) ) ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str2,"up")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:134:26: note: passing argument to parameter here double atof(const char *); ^ parse_t.c:80:10: warning: passing arguments to 'output_t' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_t(str); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"end"),Doc[n].std.page_end); ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str=xmlGetProp(Doc[n].cur,"type"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str,pages[i].name)) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"left")) ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margeleft=atof(xmlGetProp(Doc[n].cur,"left")); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margeleft=atof(xmlGetProp(Doc[n].cur,"left")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"top")) ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margetop=Doc[n].now.height-atof(xmlGetProp(Doc[n].cur,"top")); ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margetop=Doc[n].now.height-atof(xmlGetProp(Doc[n].cur,"top")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"bottom")) ^~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margebottom=atof(xmlGetProp(Doc[n].cur,"bottom")); ^~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].now.margebottom=atof(xmlGetProp(Doc[n].cur,"bottom")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str2=xmlGetProp(Doc[n].cur,"num"))) ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DocS.page=atoi(str2); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for( i=strlen(str);i;i-- ) if(str[i]=='\n') str[i]=' '; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("t",page->name)) // Text block ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:72:11: warning: passing arguments to 'parse_t' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_t(page); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("img",page->name)) // Image block ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:75:13: warning: passing arguments to 'parse_img' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_img(page); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("bookmark",page->name)) // bookmark tag ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:78:18: warning: passing arguments to 'parse_bookmark' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_bookmark(page); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("sep",page->name)) // Separator tag ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:81:13: warning: passing arguments to 'parse_sep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_sep(page); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("list",page->name)) // Separator tag ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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:84:14: warning: passing arguments to 'parse_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_list(page); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp("eof",page->name)) { ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp("text",page->name)&& ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcmp("comment",page->name)) ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"font") ) ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.fnt=xmlGetProp(Doc[n].cur,"font"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"size")) ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"linespacing")) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.linespacing=atoi(xmlGetProp(Doc[n].cur,"linespacing")); ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.linespacing=atoi(xmlGetProp(Doc[n].cur,"linespacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"wordspacing")) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.wordspacing=atoi(xmlGetProp(Doc[n].cur,"wordspacing")); ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.wordspacing=atoi(xmlGetProp(Doc[n].cur,"wordspacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"charspacing")) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.charspacing=atoi(xmlGetProp(Doc[n].cur,"charspacing")); ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.charspacing=atoi(xmlGetProp(Doc[n].cur,"charspacing")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"x")) ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.textx=atof(xmlGetProp(Doc[n].cur,"x")); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.textx=atof(xmlGetProp(Doc[n].cur,"x")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"y")) ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.texty=atof(xmlGetProp(Doc[n].cur,"y")); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.texty=atof(xmlGetProp(Doc[n].cur,"y")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margetop")) ^~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margetop=atof(xmlGetProp(Doc[n].cur,"margetop")); ^~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margetop=atof(xmlGetProp(Doc[n].cur,"margetop")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margebottom")) ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margebottom=atof(xmlGetProp(Doc[n].cur,"margebottom")); ^~~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margebottom=atof(xmlGetProp(Doc[n].cur,"margebottom")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margeleft")) ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margeleft=atof(xmlGetProp(Doc[n].cur,"margeleft")); ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margeleft=atof(xmlGetProp(Doc[n].cur,"margeleft")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (xmlGetProp(Doc[n].cur,"margeright")) ^~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margeright=Doc[n].std.width-atof(xmlGetProp(Doc[n].cur,"margeright")); ^~~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Doc[n].std.margeright=Doc[n].std.width-atof(xmlGetProp(Doc[n].cur,"margeright")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"trim"), true); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"underline"), false); ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"overline"), false); ^~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_bool(xmlGetProp(Doc[n].cur,"strikeout"), false); ^~~~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(Doc[n].cur,"color"), ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((str=xmlGetProp(Doc[n].cur,"align"))) ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str,"right")) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str,"left")) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str,"center")) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(str,"justify")) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ 38 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_bookmark.c 51 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_add.c In file included from parse_bookmark.c:1: ./defs.h:117:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] parse_bookmark(), ^ parse_bookmark.c:3:5: note: conflicting prototype is here int parse_bookmark(xmlNodePtr p) { ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] open = parm_bool(xmlGetProp(p,"open"),false); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] open = parm_bool(xmlGetProp(p,"open"),false); ^~~~~~~~~~~~~~~~~~~~ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ parse_bookmark.c:9:25: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(buf=xmlGetProp(p,"node"))) ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_bookmark.c:11:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else node=atoi(buf); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(buf=xmlGetProp(p,"name"))) { ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_bookmark.c:23:28: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PDF_add_bookmark(DocS.p,buf,node,open)); ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/pdflib.h:582:38: note: passing argument to parameter 'text' here PDF_add_bookmark(PDF *p, const char *text, int parent, int open); ^ 35 warnings generated. 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *type=xmlGetProp(Doc[n].cur,"type"), ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *name=xmlGetProp(Doc[n].cur,"name"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_add.c:20:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(type,"color")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_add.c:25:16: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(name,DocS.add.colors[i].name)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_add.c:33:49: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DocS.add.colors[i].name=(char *)malloc(strlen(name)+1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ parse_add.c:34:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(DocS.add.colors[i].name,name); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ parse_add.c:35:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(str,DocS.add.colors[i].rgb,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_add.c:38:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(type,"size")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ parse_add.c:41:14: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(type,"page")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_list.c 7 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_sep.c In file included from parse_list.c:1: ./defs.h:122:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] parse_list(); ^ parse_list.c:3:5: note: conflicting prototype is here int parse_list(xmlNodePtr page ) ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] titol = xmlGetProp(page,"titol"); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( xmlGetProp(page,"depth") ) ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] depth = atoi(xmlGetProp(page,"depth") ); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] type = xmlGetProp(page,"type"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (type && !strcmp(type,"index") && xmlGetProp(page,"pag") ) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (type && !strcmp(type,"index") && xmlGetProp(page,"pag") ) ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pag = atoi(xmlGetProp(page,"pag")); ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pag = atoi(xmlGetProp(page,"pag")); ^~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( type && !strcmp(type,"index") && !xmlGetProp(page,"pag") ) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( type && !strcmp(type,"index") && !xmlGetProp(page,"pag") ) ^~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color( xmlGetProp(page,"color"), ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] link = xmlGetProp(page,"link"); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( xmlGetProp(page,"space") ) ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] space=atoi(xmlGetProp(page,"space")); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] space=atoi(xmlGetProp(page,"space")); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 , ^ In file included from parse_sep.c:1: ./defs.h:119:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] parse_sep(), ^ parse_sep.c:3:5: note: conflicting prototype is here int parse_sep(xmlNodePtr page) ^ parse_sep.c:10:29: warning: passing 'char[6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_sep.c:10:13: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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_sep.c:12:36: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] line = parm_value(xmlGetProp(page,"line"), &line, 100); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] line = parm_value(xmlGetProp(page,"line"), &line, 100); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] space = parm_value(xmlGetProp(page,"space"), &space, 100); ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_sep.c:13:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] space = parm_value(xmlGetProp(page,"space"), &space, 100); ^~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ parse_sep.c:14:37: warning: passing 'char[5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = parm_value(xmlGetProp(page,"size"), &size, 100); ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_sep.c:14:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = parm_value(xmlGetProp(page,"size"), &size, 100); ^~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ parse_sep.c:15:37: warning: passing 'char[6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] width = parm_value(xmlGetProp(page,"width"), &width, ^~~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ parse_sep.c:15:21: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] width = parm_value(xmlGetProp(page,"width"), &width, ^~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:9:25: note: passing argument to parameter 'str' here int parm_value (char *str,int *ref,int total); ^ 9 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_t.c 21 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_doc.c 11 warnings generated. gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -Os -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" output_img.c In file included from output_t.c:1: ./output.h:27:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] output_t(); ^ output_t.c:4:6: note: conflicting prototype is here void output_t(unsigned char *str) ^ output_t.c:9:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ output_t.c:22:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i+=strlen(str+i)+1; ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ output_t.c:39:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for( i=0;i78) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len2=(int)((78-strlen(str+i))/2); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i=0;i "); ~~^ output_list.c:43:13: warning: passing arguments to 'output_t' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_t(titol); ^ output_list.c:50:38: warning: invalid conversion specifier '"' [-Wformat-invalid-specifier] fprintf(DocS.fd, ""); ~^ output_list.c:54:13: warning: passing arguments to 'output_t' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] output_t(titol); ^ 4 warnings generated. Linking objects... gcc -L/opt/pkg/lib -L/opt/pkg/lib -lxml2 -L/opt/pkg/lib -lpdf -L/opt/pkg/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 '/Users/pbulk/build/textproc/xml2doc/work/xml2doc/src' gmake: *** [Makefile:11: build] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/textproc/xml2doc *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/textproc/xml2doc