application-specific initialization failed: no display name and no $DISPLAY environment variable 100%100%Done Fetching catdoc.SlackBuild... 0%100%100%100%100%100%Done Fetching catdoc.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done catdoc-0.94.2/ catdoc-0.94.2/doc/ catdoc-0.94.2/doc/.cvsignore catdoc-0.94.2/doc/Makefile.in catdoc-0.94.2/doc/catdoc.1.in catdoc-0.94.2/doc/catppt.1.in catdoc-0.94.2/doc/wordview.1.in catdoc-0.94.2/doc/xls2csv.1.in catdoc-0.94.2/.cvsignore catdoc-0.94.2/CODING.STD catdoc-0.94.2/COPYING catdoc-0.94.2/CREDITS catdoc-0.94.2/INSTALL catdoc-0.94.2/INSTALL.dos catdoc-0.94.2/Makefile.in catdoc-0.94.2/NEWS catdoc-0.94.2/README catdoc-0.94.2/TODO catdoc-0.94.2/acconfig.h catdoc-0.94.2/configure catdoc-0.94.2/configure.in catdoc-0.94.2/install-sh catdoc-0.94.2/missing catdoc-0.94.2/mkinstalldirs catdoc-0.94.2/stamp-h catdoc-0.94.2/charsets/ catdoc-0.94.2/charsets/.cvsignore catdoc-0.94.2/charsets/8859-1.txt catdoc-0.94.2/charsets/8859-10.txt catdoc-0.94.2/charsets/8859-11.txt catdoc-0.94.2/charsets/8859-13.txt catdoc-0.94.2/charsets/8859-14.txt catdoc-0.94.2/charsets/8859-15.txt catdoc-0.94.2/charsets/8859-2.txt catdoc-0.94.2/charsets/8859-3.txt catdoc-0.94.2/charsets/8859-4.txt catdoc-0.94.2/charsets/8859-5.txt catdoc-0.94.2/charsets/8859-6.txt catdoc-0.94.2/charsets/8859-7.txt catdoc-0.94.2/charsets/8859-8.txt catdoc-0.94.2/charsets/8859-9.txt catdoc-0.94.2/charsets/Makefile.in catdoc-0.94.2/charsets/ascii.rpl catdoc-0.94.2/charsets/ascii.spc catdoc-0.94.2/charsets/cp1250.txt catdoc-0.94.2/charsets/cp1251.txt catdoc-0.94.2/charsets/cp1252.txt catdoc-0.94.2/charsets/cp1253.txt catdoc-0.94.2/charsets/cp1254.txt catdoc-0.94.2/charsets/cp1255.txt catdoc-0.94.2/charsets/cp1256.txt catdoc-0.94.2/charsets/cp1257.txt catdoc-0.94.2/charsets/cp1258.txt catdoc-0.94.2/charsets/cp437.txt catdoc-0.94.2/charsets/cp850.txt catdoc-0.94.2/charsets/cp852.txt catdoc-0.94.2/charsets/cp855.txt catdoc-0.94.2/charsets/cp857.txt catdoc-0.94.2/charsets/cp860.txt catdoc-0.94.2/charsets/cp861.txt catdoc-0.94.2/charsets/cp862.txt catdoc-0.94.2/charsets/cp863.txt catdoc-0.94.2/charsets/cp864.txt catdoc-0.94.2/charsets/cp865.txt catdoc-0.94.2/charsets/cp866.txt catdoc-0.94.2/charsets/cp869.txt catdoc-0.94.2/charsets/cp874.txt catdoc-0.94.2/charsets/koi8-r.txt catdoc-0.94.2/charsets/koi8-u.txt catdoc-0.94.2/charsets/mac-arabic.txt catdoc-0.94.2/charsets/mac-centeuro.txt catdoc-0.94.2/charsets/mac-cyrillic.txt catdoc-0.94.2/charsets/mac-greek.txt catdoc-0.94.2/charsets/mac-hebrew.txt catdoc-0.94.2/charsets/mac-roman.txt catdoc-0.94.2/charsets/tex.rpl catdoc-0.94.2/charsets/tex.spc catdoc-0.94.2/charsets/us-ascii.txt catdoc-0.94.2/compat/ catdoc-0.94.2/compat/.cvsignore catdoc-0.94.2/compat/langinfo.c catdoc-0.94.2/compat/langinfo.h catdoc-0.94.2/compat/strftime.c catdoc-0.94.2/compat/strftime.h catdoc-0.94.2/compat/unistd.h catdoc-0.94.2/src/ catdoc-0.94.2/src/.cvsignore catdoc-0.94.2/src/Makefile.in catdoc-0.94.2/src/analyze.c catdoc-0.94.2/src/catdoc.c catdoc-0.94.2/src/catdoc.h catdoc-0.94.2/src/catdoc.rsp catdoc-0.94.2/src/catppt.c catdoc-0.94.2/src/charsets.c catdoc-0.94.2/src/config.h.in catdoc-0.94.2/src/confutil.c catdoc-0.94.2/src/fileutil.c catdoc-0.94.2/src/makefile.tc catdoc-0.94.2/src/numutils.c catdoc-0.94.2/src/ole.c catdoc-0.94.2/src/ole.h catdoc-0.94.2/src/ppt.h catdoc-0.94.2/src/pptparse.c catdoc-0.94.2/src/ppttypes.h catdoc-0.94.2/src/reader.c catdoc-0.94.2/src/rtfread.c catdoc-0.94.2/src/sheet.c catdoc-0.94.2/src/substmap.c catdoc-0.94.2/src/wordview.tcl catdoc-0.94.2/src/writer.c catdoc-0.94.2/src/xls.h catdoc-0.94.2/src/xls2csv.c catdoc-0.94.2/src/xlsparse.c catdoc-0.94.2/src/xltypes.h creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -fPIC ) works... yes checking whether the C compiler (gcc -O2 -fPIC ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether byte ordering is bigendian... no checking for a BSD compatible install... /usr/bin/ginstall -c checking for wish... /usr/bin/wish checking checking if wish version is 8.1 or above ... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for unistd.h... yes checking for langinfo.h... yes checking For nl_langinfo(CODESET)... yes checking for working const... yes checking whether setvbuf arguments are reversed... no checking for strdup... yes checking for strtol... yes checking for strftime... yes updating cache ./config.cache creating ./config.status creating doc/Makefile creating charsets/Makefile creating src/Makefile creating Makefile creating doc/catdoc.1 creating doc/xls2csv.1 creating doc/wordview.1 creating doc/catppt.1 creating src/config.h for i in src doc charsets; do\ (cd $i; make all);\ done make[1]: Entering directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/src' gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o catdoc.o catdoc.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o reader.o reader.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o writer.o writer.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o analyze.o analyze.c In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c: In function ‘analyze_format’: analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:42:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:46:21: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:48:21: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from analyze.c:13: analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ analyze.c:53:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ analyze.c:74:14: warning: pointer targets in passing argument 2 of ‘copy_out’ differ in signedness [-Wpointer-sign] copy_out(f,buffer); ^ In file included from analyze.c:14:0: catdoc.h:220:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void copy_out(FILE *f, char *header); ^ gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o rtfread.o rtfread.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o charsets.o charsets.c charsets.c: In function ‘get_utf8’: charsets.c:166:6: warning: variable ‘d’ set but not used [-Wunused-but-set-variable] int d,c; ^ gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o substmap.o substmap.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o fileutil.o fileutil.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o confutil.o confutil.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o numutils.o numutils.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o ole.o ole.c In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c: In function ‘ole_init’: ole.c:100:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:14: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:21: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ ole.c:100:14: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:630:0, from ole.c:20: ole.c:100:21: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:143:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ gcc -o catdoc catdoc.o reader.o writer.o analyze.o rtfread.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o xls2csv.o xls2csv.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o sheet.o sheet.c sheet.c: In function ‘print_value’: sheet.c:97:13: warning: pointer targets in passing argument 1 of ‘strtod’ differ in signedness [-Wpointer-sign] strtod(value,&endptr); ^ In file included from sheet.c:10:0: /usr/include/stdlib.h:164:15: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern double strtod (const char *__restrict __nptr, ^ gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o xlsparse.o xlsparse.c xlsparse.c: In function ‘do_table’: xlsparse.c:95:20: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] rectype=getshort(buffer,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:101:19: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] reclen=getshort(buffer,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:112:31: warning: pointer targets in passing argument 3 of ‘process_item’ differ in signedness [-Wpointer-sign] process_item(rectype,reclen,rec); ^ In file included from xlsparse.c:13:0: xls.h:37:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void process_item (int rectype, int reclen, char *rec); ^ xlsparse.c:37:27: warning: variable ‘build_rel’ set but not used [-Wunused-but-set-variable] long reclen,build_year=0,build_rel=0,offset=0; ^ xlsparse.c: In function ‘process_item’: xlsparse.c:138:13: warning: pointer targets in passing argument 1 of ‘parse_sst’ differ in signedness [-Wpointer-sign] parse_sst(sstBuffer,sstBytes); ^ In file included from xlsparse.c:13:0: xls.h:36:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void parse_sst(char *sstbuf,int bufsize); ^ xlsparse.c:153:21: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] codepage=getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:163:24: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] format_code=getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:194:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sstBuffer=(char*)malloc(reclen); ^ xlsparse.c:222:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:223:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:226:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=copy_unicode_string(&src); ^ xlsparse.c:230:19: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:231:19: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:239:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:240:23: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] startcol = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:241:19: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] endcol=getshort(rec,reclen-2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:237:12: warning: variable ‘startcol’ set but not used [-Wunused-but-set-variable] int row, startcol,endcol; ^ xlsparse.c:247:22: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] int row = getshort(rec,0); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:248:22: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] int col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:250:26: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] int string_no=getshort(rec,6); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:265:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] len=strlen(sst[string_no]); ^ In file included from xlsparse.c:12:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ xlsparse.c:266:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] outptr=*pcell=malloc(len+1); ^ xlsparse.c:267:18: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(outptr,sst[string_no]); ^ In file included from xlsparse.c:12:0: /usr/include/string.h:125:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ xlsparse.c:270:11: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(*pcell,""); ^ In file included from xlsparse.c:12:0: /usr/include/string.h:125:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ xlsparse.c:282:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0)-startrow; ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:283:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:285:46: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:285:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,getshort(rec,4))); ^ xlsparse.c:292:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0)-startrow; ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:293:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ In file included from /usr/include/string.h:630:0, from xlsparse.c:12: xlsparse.c:295:53: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:295:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4))); ^ xlsparse.c:304:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0)-startrow; ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:305:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:307:26: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] format_code = getshort(rec,4); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:308:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(format_rk(rec+6,format_code)); ^ xlsparse.c:314:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0)-startrow; ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:315:23: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] startcol = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:316:21: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] endcol = getshort(rec,reclen-2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:321:25: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] format_code=getshort(rec,offset); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:322:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(format_rk(rec+offset+2,format_code)); ^ xlsparse.c:331:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] row = getshort(rec,0)-startrow; ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:332:18: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] col = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:340:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(buf); ^ xlsparse.c:344:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(buf); ^ xlsparse.c:349:29: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] int format_code=getshort(rec,4); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c:350:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pcell=strdup(format_double(rec,6,format_code)); ^ xlsparse.c:360:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *saved_reference=copy_unicode_string(&src); ^ xlsparse.c:373:37: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] short int formatIndex = getshort(rec,2); ^ In file included from xlsparse.c:14:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ xlsparse.c: In function ‘copy_unicode_string’: xlsparse.c:490:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s=*src,d=dest,i=0;i>2); ^ In file included from xlsparse.c:14:0: catdoc.h:233:10: note: expected ‘unsigned char *’ but argument is of type ‘char *’ long int getlong(unsigned char *buffer,int offset); ^ xlsparse.c: In function ‘parse_sst’: xlsparse.c:762:20: warning: pointer targets in passing argument 1 of ‘getlong’ differ in signedness [-Wpointer-sign] sstsize = getlong(sstbuf+4,0); ^ In file included from xlsparse.c:14:0: catdoc.h:233:10: note: expected ‘unsigned char *’ but argument is of type ‘char *’ long int getlong(unsigned char *buffer,int offset); ^ xlsparse.c:770:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (i=0,parsedString=sst,curString=sstbuf+8; ^ xlsparse.c:773:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *parsedString = copy_unicode_string(&curString); ^ xlsparse.c: In function ‘CleanUpFormatIdxUsed’: xlsparse.c:588:15: warning: array subscript is above array bounds [-Warray-bounds] FormatIdxUsed[i]=0; ^ xlsparse.c: In function ‘do_table’: xlsparse.c:588:15: warning: array subscript is above array bounds [-Warray-bounds] FormatIdxUsed[i]=0; ^ gcc -o xls2csv xls2csv.o sheet.o xlsparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o catppt.o catppt.c gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o pptparse.o pptparse.c pptparse.c: In function ‘process_item’: pptparse.c:155:32: warning: pointer targets in passing argument 1 of ‘getshort’ differ in signedness [-Wpointer-sign] u=(unsigned short)getshort(buf,0); ^ In file included from pptparse.c:21:0: catdoc.h:235:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ unsigned int getshort(unsigned char *buffer,int offset); ^ gcc -o catppt catppt.o pptparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm echo "#! /usr/bin/wish" >wordview echo set charset_lib "\"/usr/share/catdoc\"">>wordview cat wordview.tcl >>wordview chmod 0755 wordview make[1]: Leaving directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/src' make[1]: Entering directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/doc' touch build make[1]: Leaving directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/doc' make[1]: Entering directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/charsets' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/slapt-src/office/catdoc/catdoc-0.94.2/charsets' /usr/src/slapt-src/office/catdoc/catdoc-0.94.2 /usr/src/slapt-src/office/catdoc/catdoc-0.94.2 /usr/src/slapt-src/office/catdoc/catdoc-0.94.2 Slackware package maker, version 3.141593. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/office/catdoc/catdoc-0.94.2-x86_64-2salix.txz ./ usr/ usr/bin/ usr/bin/wordview usr/bin/xls2csv usr/bin/catppt usr/bin/catdoc usr/doc/ usr/doc/catdoc-0.94.2/ usr/doc/catdoc-0.94.2/README usr/doc/catdoc-0.94.2/CREDITS usr/doc/catdoc-0.94.2/catdoc.SlackBuild usr/doc/catdoc-0.94.2/COPYING usr/doc/catdoc-0.94.2/NEWS usr/doc/catdoc-0.94.2/TODO usr/doc/catdoc-0.94.2/INSTALL.dos usr/doc/catdoc-0.94.2/CODING.STD usr/doc/catdoc-0.94.2/INSTALL usr/man/ usr/man/man1/ usr/man/man1/wordview.1.gz usr/man/man1/xls2csv.1.gz usr/man/man1/catppt.1.gz usr/man/man1/catdoc.1.gz usr/share/ usr/share/catdoc/ usr/share/catdoc/8859-10.txt usr/share/catdoc/mac-greek.txt usr/share/catdoc/cp1258.txt usr/share/catdoc/cp1250.txt usr/share/catdoc/8859-15.txt usr/share/catdoc/cp862.txt usr/share/catdoc/cp437.txt usr/share/catdoc/cp1255.txt usr/share/catdoc/cp852.txt usr/share/catdoc/8859-8.txt usr/share/catdoc/8859-6.txt usr/share/catdoc/cp865.txt usr/share/catdoc/mac-roman.txt usr/share/catdoc/8859-1.txt usr/share/catdoc/8859-13.txt usr/share/catdoc/8859-3.txt usr/share/catdoc/koi8-u.txt usr/share/catdoc/us-ascii.txt usr/share/catdoc/8859-7.txt usr/share/catdoc/cp866.txt usr/share/catdoc/cp1254.txt usr/share/catdoc/8859-5.txt usr/share/catdoc/cp1257.txt usr/share/catdoc/cp857.txt usr/share/catdoc/cp1252.txt usr/share/catdoc/8859-2.txt usr/share/catdoc/cp861.txt usr/share/catdoc/mac-arabic.txt usr/share/catdoc/cp1256.txt usr/share/catdoc/cp874.txt usr/share/catdoc/8859-14.txt usr/share/catdoc/cp863.txt usr/share/catdoc/ascii.specchars usr/share/catdoc/cp860.txt usr/share/catdoc/cp864.txt usr/share/catdoc/cp869.txt usr/share/catdoc/tex.replchars usr/share/catdoc/cp1251.txt usr/share/catdoc/mac-cyrillic.txt usr/share/catdoc/tex.specchars usr/share/catdoc/koi8-r.txt usr/share/catdoc/cp1253.txt usr/share/catdoc/8859-9.txt usr/share/catdoc/ascii.replchars usr/share/catdoc/mac-hebrew.txt usr/share/catdoc/cp855.txt usr/share/catdoc/mac-centeuro.txt usr/share/catdoc/cp850.txt usr/share/catdoc/8859-4.txt usr/share/catdoc/8859-11.txt install/ install/slack-desc Slackware package /usr/src/slapt-src/office/catdoc/catdoc-0.94.2-x86_64-2salix.txz created. Installing package catdoc-0.94.2-x86_64-2salix... | catdoc (console MS Word files reader) | | catdoc reads MS Word file and prints readable ASCII text to stdout, | just like Unix cat command. It also able to produce correct escape | sequences if some UNICODE characters have to be represented specially | in your typesetting system such as (La)TeX. | | | | | | |