=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xml2doc-20030510nb20 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 not supported in C2x [-Wdeprecated-non-prototype] parse(), ^ void parse.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 defs.c:31:4: warning: int strcmp(const char *__s1, const char *__s2);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 ^~~~ 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); ^ 1 warning 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 3 warnings generated. 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\" parse_info.c 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 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] if (( str=xmlGetProp(Doc[n].cur,"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_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); ^ 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 not supported in C2x [-Wdeprecated-non-prototype] parse_img(), ^ void parse_img.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_img(xmlNodePtr page) { ^ 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), ^ 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_t.c 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 24 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 not supported in C2x [-Wdeprecated-non-prototype] parse_t(), ^ void parse_t.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_t(xmlNodePtr page) { ^ 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_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 parse_page.c:14:13: const xmlChar *name); 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_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_page.c:15:35: warning: parse_t.c: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] 13:30: parm_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~ warning: /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: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] note: passing argument to parameter 'name' here const xmlChar *name); ^ 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 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] 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_color(xmlGetProp(Doc[n].cur,"bgcolor"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parm.h:8 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); :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_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_page.cparse_t.c:29:29: :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:22warning: :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] note: passing argument to parameter 'name' here parm_bool(xmlGetProp(page,"bold"),Doc[n].std.bold); const xmlChar *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_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_page.c:42:15: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] warning: if ((str2=xmlGetProp(page,"wordspacing"))) 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)) ^~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: passing argument to parameter 'name' here /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77: const xmlChar *name); ^ 25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ 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_page.c:51parse_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 *); ^ :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] parse_t.c:39:28: 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 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] const xmlChar *name); 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_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] parse_t.c: Doc[n].now.margeleft=atof(xmlGetProp(Doc[n].cur,"left")); 40: ^~~~~~ 31: /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h: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]1031: 22: note: passing argument to parameter 'name' here Doc[n].now.linespacing=atoi(str2); ^~~~ const xmlChar *name);/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:135 ^:23: note: passing argument to parameter here parse_page.c:52int atoi(const char *); :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.hparse_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] 134:26: note: parm_bool(xmlGetProp(page,"trim"),Doc[n].std.trim); ^~~~~~ passing argument to parameter here /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031double atof(const char *); ^ :22: note: passing argument to parameter 'name' here const xmlChar *name); ^ 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")) ^~~~~ parse_t.c:46:13/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:: 1031: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] 22: note: passing argument to parameter 'name' here parm_bool(xmlGetProp(page,"trim"),Doc[n].std.trim); const xmlChar *name); ^~~~~~~~~~~~~~~~~~~~~~~ ^ ./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^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:parse_t.c:48 note: :35passing argument to parameter 'name' here : warning: const xmlChar *name); ^ 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] parse_page.c: if ((str2=xmlGetProp(page,"align"))) 54: ^~~~~~~ 48: /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031warning: 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]:22 : note: passing argument to parameter 'name' here Doc[n].now.margetop=Doc[n].now.height-atof(xmlGetProp(Doc[n].cur,"top")); const xmlChar *name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /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:50:22: warning: 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]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")) 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 /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77: const xmlChar *name); ^ 25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ 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_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] parse_page.c if (!strcmp(str2,"left")) ^~~~ :59:35: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h: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]77: 25: note: passing argument to parameter '__s1' here parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); ^~~~~~~~~ int strcmp(const char *__s1, const char *__s2); /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.cparse_page.c:59:13:54: :15warning: 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] : 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (!strcmp(str2,"center")) ^~~~./parm.h: 6:/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:7731::25 note: : passing argument to parameter 'str' here note: passing argument to parameter '__s1' here bool parm_bool (const char *str, bool ref); ^int strcmp(const char *__s1, const char *__s2); ^ parse_page.c:61parse_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] :34 if (!strcmp(str2,"justify")) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h::77:25: note: passing argument to parameter '__s1' here warning: int strcmp(const char *__s1, const char *__s2); 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_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_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] parse_t.c:62:13 for( i=strlen(str);i;i-- ) if(str[i]=='\n') str[i]=' '; ^~~ : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82passing '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] :28: note: passing argument to parameter '__s' here parm_color(xmlGetProp(page,"color"),Doc[n].now.text_c,Doc[n].std.text_c); ^~~~~~~~~~~~~~~~~~~~~~~~ size_t strlen(const char *__s);./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: parse_page.c:71: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] 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 (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~ if (!strcmp("t",page->name)) // Text block ^~~~~~~~~~ parse_default.c/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:1031:77::722: note: :28::passing argument to parameter 'name' here 43 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] const xmlChar *name); note: passing argument to parameter '__s2' here ^ int strcmp(const char *__s1, const char *__s2); ^ if (xmlGetProp(Doc[n].cur,"font") ) ^~~~~~ 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] parse_page.c:72 if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); :11 ^~~ : warning: /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031passing arguments to 'parse_t' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] :22/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:: 22: parse_t(page); ^ note: note: passing argument to parameter 'name' here passing argument to parameter 'name' here const xmlChar *name); ^ const xmlChar *name); ^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 parse_t.c: ^~~~~~~~~~ 64:52:/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h: warning: 77: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] 43: note: passing argument to parameter '__s2' here if (xmlGetProp(page,"x")) Doc[n].now.textx = atof(xmlGetProp(page,"x")); ^~~~~~~~~~~~~~~~~~~~ int strcmp(const char *__s1, const char *__s2);/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:134 parse_default.c:: ^ 8:4226: 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]: parse_page.c:75note: passing argument to parameter here Doc[n].std.fnt=xmlGetProp(Doc[n].cur,"font"); ^~~~~~ :13:double atof(const char *);/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h 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] : 1031:22 parse_img(page); ^: note: ^ passing argument to parameter 'name' here const xmlChar *name); ^ parse_page.c:77:26: parse_t.c:65: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]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 (!strcmp("bookmark",page->name)) // bookmark tag ^~~~~~~~~~ if ( (str2=xmlGetProp(page,"y")) ) ^~~/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77 :43/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031: :22note: passing argument to parameter '__s2' here: note: passing argument to parameter 'name' here parse_default.c const xmlChar *name);int strcmp(const char *__s1, const char *__s2); : ^ ^ 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] parse_page.c:78: parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum); 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]/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031 :22 parse_bookmark(page); ^ : note: passing argument to parameter 'name' here const xmlChar *name); ^ 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 ^~~~~~~~~~parse_default.c:11 :13/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77: :43warning: 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]: note: passing argument to parameter '__s2' hereparse_t.c: 69:7int strcmp(const char *__s1, const char *__s2); ^: parm_bool(xmlGetProp(Doc[n].cur,"autonum"),Doc[n].std.autonum);warning: equality comparison result unused [-Wunused-comparison] lead==PDF_get_value(DocS.p,"leading",0.0f); 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:./parm.h:6:31: note: passing argument to parameter 'str' here bool parm_bool (const char *str, bool ref); ^ 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 ^~~~~~~~~~ parse_t.c:69:7: note: use '=' to turn this equality comparison into an assignment lead==PDF_get_value(DocS.p,"leading",0.0f); ^~ = /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_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] parse_page.c:84: if (!strcmp(str2,"up")) 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] /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77: parse_list(page); ^25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ 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)) { 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 parse_t.c const xmlChar *name); ^ :77:43: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77 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] :43: note: passing argument to parameter '__s2' here Doc[n].now.texty = atof(xmlGetProp(page,"y")); ^~~ int strcmp(const char *__s1, const char *__s2); ^ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22parse_default.c:14:47: warning: : note: 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] passing argument to parameter 'name' here Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); ^~~~~~ const xmlChar *name); ^ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22: note: parse_t.c:77:parse_page.cpassing argument to parameter 'name' here :89 const xmlChar *name); ^ 27:: warning: parse_default.c:14:2521: : 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]warning: 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]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")); Doc[n].std.fsize=atoi(xmlGetProp(Doc[n].cur,"size")); if (strcmp("text",page->name)&& ^~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h: ^~~~~~~~~~: 134135/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:23::77:43: note: passing argument to parameter '__s2' here :26: int strcmp(const char *__s1, const char *__s2); ^ note: passing argument to parameter here int atoi(const char *);note: passing argument to parameter here double atof(const char *); ^ ^ parse_t.cparse_page.c:90::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]24parse_default.c :15:28: output_t(str); : ^ 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]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)) ^~~~~~~~~~ if (xmlGetProp(Doc[n].cur,"linespacing")) ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:/Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031:22:77 note: passing argument to parameter 'name' here :43 const xmlChar *name); ^ : note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ 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); ^ 39 warnings generated. 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_bookmark.c 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 35 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_list.c parse_add.c:15In file included from parse_bookmark.c:1: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] ./defs.h:117:2: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *type=xmlGetProp(Doc[n].cur,"type"), parse_bookmark(), ^ ^~~~~~ void parse_bookmark.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_bookmark(xmlNodePtr p) { ^ /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_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_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_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_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_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_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_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_add.c:35:parse_bookmark.c:13:2514: 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] 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_color(str,DocS.add.colors[i].rgb,Doc[n].std.text_c); ^~~ ./parm.h:8:31: if (!(buf=xmlGetProp(p,"name"))) { ^~~~~~ /Users/pbulk/build/textproc/xml2doc/work/.buildlink/include/libxml2/libxml/tree.h:1031note: passing argument to parameter 'str' here :22:void parm_color (const char *str, unsigned char *ptr, unsigned char *ref); ^ note: passing argument to parameter 'name' here const xmlChar *name); ^ 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")) parse_bookmark.c:23:28 ^~~~ : warning: /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h: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] 77:25: note: PDF_add_bookmark(DocS.p,buf,node,open)); ^~~ passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ /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); ^ 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 not supported in C2x [-Wdeprecated-non-prototype] parse_list(); ^ void parse_list.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 , ^ 8 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 9 warnings generated. 22 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 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 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 not supported in C2x [-Wdeprecated-non-prototype] output_t(); ^ void output_t.c:4:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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); ^ 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 not supported in C2x [-Wdeprecated-non-prototype] parse_sep(), ^ void parse_sep.c:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_sep(xmlNodePtr page) ^ 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); ^ 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); ^ 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]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] for( i=0;i78) ^~~~~ space = parm_value(xmlGetProp(page,"space"), &space, 100); ^~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:./parm.h:928: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ :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); ^ 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); ^ 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:output_t.c:114:9: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] 25: 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