The following packages will be installed: convertlit Fetching README... 0%100%100%100%100%100%Done Fetching convertlit.1... 0%100%100%100%100%100%Done Fetching convertlit.SlackBuild... 0%100%100%100%100%100%Done Fetching convertlit.info... 0%100%100%100%100%100%Done Fetching lit2epub... 0%100%100%100%100%100%Done Fetching lit2epub.1... 0%100%100%100%100%100%Done Fetching lit2epub.rst... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Archive: /usr/src/slapt-src-x86_64/office/convertlit/convertlit18src.zip inflating: README creating: clit18/ creating: lib/ inflating: clit18/clit.c inflating: clit18/Makefile inflating: clit18/clit.h inflating: clit18/drm5.c inflating: clit18/COPYING inflating: clit18/display.c inflating: clit18/explode.c inflating: clit18/hexdump.c inflating: clit18/manifest.c inflating: clit18/manifest.h inflating: clit18/transmute.c inflating: clit18/utils.c inflating: clit18/utils.h inflating: clit18/win32.mak inflating: lib/litatom.c inflating: lib/Makefile inflating: lib/litdirectory.c inflating: lib/win32.mak inflating: lib/litdrm.c inflating: lib/litembiggen.c inflating: lib/litheaders.c inflating: lib/litinternal.h inflating: lib/litlib.c inflating: lib/litlib.h inflating: lib/litmanifest.c inflating: lib/litmetatags.c inflating: lib/litsections.c inflating: lib/littags.c inflating: lib/littags.h inflating: lib/littypes.h inflating: lib/litutil.c creating: lib/des/ creating: lib/lzx/ creating: lib/newlzx/ creating: lib/sha/ inflating: lib/des/d3des.h inflating: lib/des/des.c inflating: lib/des/spr.h inflating: lib/lzx/lzx.c inflating: lib/lzx/lzx.h inflating: lib/lzx/lzx_int.h inflating: lib/newlzx/lzx.h inflating: lib/newlzx/lzxd.c inflating: lib/newlzx/lzxglue.c inflating: lib/newlzx/mspack.h inflating: lib/newlzx/system.h inflating: lib/sha/mssha1.c inflating: lib/sha/sha.h make: Entering directory '/usr/src/slapt-src-x86_64/office/convertlit/convertlit18src/lib' cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litatom.o litatom.c litatom.c: In function ‘lit_read_atoms’: litatom.c:123:21: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 123 | strncpy(s,p + 1, len); | ~~^~~ | | | U8 * {aka unsigned char *} In file included from litatom.c:25: /usr/include/string.h:129:46: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 129 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ litatom.c:186:19: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 186 | strncpy(s,p, len); | ^ | | | U8 * {aka unsigned char *} In file included from litatom.c:25: /usr/include/string.h:129:46: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 129 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litdrm.o litdrm.c litdrm.c: In function ‘lit_i_read_drm’: litdrm.c:135:33: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 135 | if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { | ^~~ | | | U8 * {aka unsigned char *} In file included from litdrm.c:25: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litdrm.c: In function ‘lit_change_drm_level’: litdrm.c:250:72: warning: pointer targets in passing argument 2 of ‘lit_i_encrypt_section’ differ in signedness [-Wpointer-sign] 250 | status = lit_i_encrypt_section(litfile,litfile->sections[i].name, | ~~~~~~~~~~~~~~~~~~~~^~~~~ | | | U8 * {aka unsigned char *} In file included from litdrm.c:28: litinternal.h:52:38: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 52 | int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); | ^~~~~~ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litlib.o litlib.c litlib.c: In function ‘lit_write_to_file’: litlib.c:189:47: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign] 189 | status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litlib.c:26: litlib.h:232:51: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); | ~~~~~~~~~~~~~^~~~ litlib.c: In function ‘lit_get_file’: litlib.c:235:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 235 | match = strncasecmp(&entry->name, name, entry->namelen); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from /usr/include/string.h:446, from litlib.c:25: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litlib.c: In function ‘lit_remove_files’: litlib.c:361:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 361 | match = strncasecmp(&entry->name,prefix, strlen(prefix)); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from /usr/include/string.h:446, from litlib.c:25: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litlib.c: In function ‘lit_put_file’: litlib.c:400:29: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 400 | match = strncasecmp(&entry->name, name, entry->namelen); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from /usr/include/string.h:446, from litlib.c:25: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litlib.c:429:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 429 | strcpy(&new->name, name); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litlib.c:25: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litembiggen.o litembiggen.c litembiggen.c: In function ‘lit_reconstitute_html’: litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:286:21: note: in expansion of macro ‘WRITE_CHAR’ 286 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:286:21: note: in expansion of macro ‘WRITE_CHAR’ 286 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:290:25: note: in expansion of macro ‘WRITE_CHAR’ 290 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:290:25: note: in expansion of macro ‘WRITE_CHAR’ 290 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:304:17: note: in expansion of macro ‘WRITE_CHAR’ 304 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:304:17: note: in expansion of macro ‘WRITE_CHAR’ 304 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:340:30: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 340 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:340:30: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 340 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:360:21: note: in expansion of macro ‘WRITE_CHAR’ 360 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:360:21: note: in expansion of macro ‘WRITE_CHAR’ 360 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:361:21: note: in expansion of macro ‘WRITE_CHAR’ 361 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:361:21: note: in expansion of macro ‘WRITE_CHAR’ 361 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:362:21: note: in expansion of macro ‘WRITE_CHAR’ 362 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:362:21: note: in expansion of macro ‘WRITE_CHAR’ 362 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:366:21: note: in expansion of macro ‘WRITE_CHAR’ 366 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:366:21: note: in expansion of macro ‘WRITE_CHAR’ 366 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:420:25: note: in expansion of macro ‘WRITE_CHAR’ 420 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:420:25: note: in expansion of macro ‘WRITE_CHAR’ 420 | WRITE_CHAR('\n'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:423:29: note: in expansion of macro ‘WRITE_CHAR’ 423 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:423:29: note: in expansion of macro ‘WRITE_CHAR’ 423 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:426:21: note: in expansion of macro ‘WRITE_CHAR’ 426 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:426:21: note: in expansion of macro ‘WRITE_CHAR’ 426 | WRITE_CHAR('<'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:427:21: note: in expansion of macro ‘WRITE_CHAR’ 427 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:427:21: note: in expansion of macro ‘WRITE_CHAR’ 427 | WRITE_CHAR('/'); | ^~~~~~~~~~ litembiggen.c:428:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 428 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:428:34: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 428 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:429:21: note: in expansion of macro ‘WRITE_CHAR’ 429 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:429:21: note: in expansion of macro ‘WRITE_CHAR’ 429 | WRITE_CHAR('>'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:478:21: note: in expansion of macro ‘WRITE_CHAR’ 478 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:478:21: note: in expansion of macro ‘WRITE_CHAR’ 478 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:479:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 479 | WRITE_STRING(numbuf); | ^~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:479:34: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 479 | WRITE_STRING(numbuf); | ^~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:488:21: note: in expansion of macro ‘WRITE_CHAR’ 488 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:488:21: note: in expansion of macro ‘WRITE_CHAR’ 488 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:489:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 489 | WRITE_STRING((char *)tmp_map->name); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:489:34: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 489 | WRITE_STRING((char *)tmp_map->name); | ^~~~~~~~~~~~~~~~~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:493:17: note: in expansion of macro ‘WRITE_CHAR’ 493 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:493:17: note: in expansion of macro ‘WRITE_CHAR’ 493 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:508:17: note: in expansion of macro ‘WRITE_CHAR’ 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:508:17: note: in expansion of macro ‘WRITE_CHAR’ 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:513:21: note: in expansion of macro ‘WRITE_CHAR’ 513 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:513:21: note: in expansion of macro ‘WRITE_CHAR’ 513 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:532:34: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 532 | WRITE_STRING(numbuf); | ^~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:532:34: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 532 | WRITE_STRING(numbuf); | ^~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:547:21: note: in expansion of macro ‘WRITE_CHAR’ 547 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:547:21: note: in expansion of macro ‘WRITE_CHAR’ 547 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:575:30: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 575 | WRITE_STRING(tag_name); | ^~~~~~~~ | | | char * litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:575:30: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 575 | WRITE_STRING(tag_name); | ^~~~~~~~ litembiggen.c:69:35: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:587:13: note: in expansion of macro ‘WRITE_CHAR’ 587 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:587:13: note: in expansion of macro ‘WRITE_CHAR’ 587 | WRITE_CHAR(' '); | ^~~~~~~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:595:17: note: in expansion of macro ‘WRITE_CHAR’ 595 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:595:17: note: in expansion of macro ‘WRITE_CHAR’ 595 | WRITE_CHAR('='); | ^~~~~~~~~~ litembiggen.c:622:35: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 622 | hash_ptr = strchr(href_value,'#'); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litembiggen.c:27: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ litembiggen.c:622:26: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 622 | hash_ptr = strchr(href_value,'#'); | ^ litembiggen.c:624:30: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 624 | new_href = lit_lookup_mapping(pManifest, href_value, | ^ litembiggen.c:627:30: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 627 | new_href = lit_lookup_mapping(pManifest, href_value, | ^ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:629:17: note: in expansion of macro ‘WRITE_CHAR’ 629 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:629:17: note: in expansion of macro ‘WRITE_CHAR’ 629 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:631:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 631 | WRITE_STRING(new_href); | ^~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ In file included from litembiggen.c:27: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ litembiggen.c:633:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 633 | WRITE_STRING(hash_ptr); | ^~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ In file included from litembiggen.c:27: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ litembiggen.c:637:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 637 | WRITE_STRING(href_value); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} litembiggen.c:69:44: note: in definition of macro ‘WRITE_STRING’ 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ In file included from litembiggen.c:27: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ | | | char * litembiggen.c:639:17: note: in expansion of macro ‘WRITE_CHAR’ 639 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c:64:35: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:639:17: note: in expansion of macro ‘WRITE_CHAR’ 639 | WRITE_CHAR('\"'); | ^~~~~~~~~~ litembiggen.c: In function ‘write_entity’: litembiggen.c:690:39: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 690 | status = htmlwrite(write_data,&ch, 1); | ^~~ | | | char * litembiggen.c:690:39: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ litembiggen.c:694:54: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 694 | status = htmlwrite(write_data,entities[found].name, | ~~~~~~~~~~~~~~~^~~~~ | | | char * litembiggen.c:694:54: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ litembiggen.c:699:39: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 699 | status = htmlwrite(write_data,&ch, 1); | ^~~ | | | char * litembiggen.c:699:39: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ litembiggen.c:712:37: warning: pointer targets in passing argument 2 of ‘htmlwrite’ differ in signedness [-Wpointer-sign] 712 | return htmlwrite(write_data,ent_buffer,len); | ^~~~~~~~~~ | | | char * litembiggen.c:712:37: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o littags.o littags.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litmetatags.o litmetatags.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litmanifest.o litmanifest.c litmanifest.c: In function ‘lit_lookup_mapping’: litmanifest.c:242:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 242 | if (strncmp(s, map->sInternal, size) == 0) | ^ | | | U8 * {aka unsigned char *} In file included from litmanifest.c:28: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litmanifest.c:242:31: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign] 242 | if (strncmp(s, map->sInternal, size) == 0) | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from litmanifest.c:28: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ litmanifest.c:243:27: warning: pointer targets in returning ‘U8 *’ {aka ‘unsigned char *’} from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 243 | return map->sOriginal; | ~~~^~~~~~~~~~~ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litdirectory.o litdirectory.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litsections.o litsections.c litsections.c: In function ‘lit_i_cache_section’: litsections.c:189:58: warning: pointer targets in passing argument 2 of ‘decompress_section’ differ in signedness [-Wpointer-sign] 189 | status = decompress_section(litfile, pSection->name, | ~~~~~~~~^~~~~~ | | | U8 * {aka unsigned char *} litsections.c:36:58: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 36 | static int decompress_section(lit_file * litfile, char * section_name, | ~~~~~~~^~~~~~~~~~~~ litsections.c: In function ‘decompress_section’: litsections.c:332:14: warning: implicit declaration of function ‘LZXinit’; did you mean ‘lzxd_init’? [-Wimplicit-function-declaration] 332 | status = LZXinit(window_size); | ^~~~~~~ | lzxd_init litsections.c:402:17: warning: implicit declaration of function ‘LZXreset’ [-Wimplicit-function-declaration] 402 | LZXreset(); | ^~~~~~~~ litsections.c:403:26: warning: implicit declaration of function ‘LZXdecompress’; did you mean ‘lzxd_decompress’? [-Wimplicit-function-declaration] 403 | status = LZXdecompress(pContent + base, ptr+dst, | ^~~~~~~~~~~~~ | lzxd_decompress cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litheaders.o litheaders.c litheaders.c: In function ‘lit_i_read_headers’: litheaders.c:219:17: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 219 | if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { | ^~~~~~ | | | U8 * {aka unsigned char *} In file included from litheaders.c:28: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o litutil.o litutil.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o sha/mssha1.o sha/mssha1.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o des/des.o des/des.c cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o newlzx/lzxglue.o newlzx/lzxglue.c newlzx/lzxglue.c: In function ‘glue_copy’: newlzx/lzxglue.c:61:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 61 | memcpy(dest, src, bytes); | ^~~~~~ newlzx/lzxglue.c:34:1: note: include ‘’ or provide a declaration of ‘memcpy’ 33 | #include "lzx.h" +++ |+#include 34 | newlzx/lzxglue.c:61:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 61 | memcpy(dest, src, bytes); | ^~~~~~ newlzx/lzxglue.c:61:5: note: include ‘’ or provide a declaration of ‘memcpy’ newlzx/lzxglue.c: In function ‘glue_read’: newlzx/lzxglue.c:87:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 87 | memcpy(buffer, (unsigned char *)mem->buffer+mem->current_bytes, bytes); | ^~~~~~ newlzx/lzxglue.c:87:5: note: include ‘’ or provide a declaration of ‘memcpy’ newlzx/lzxglue.c: In function ‘glue_write’: newlzx/lzxglue.c:107:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch] 107 | memcpy((unsigned char *)mem->buffer+mem->current_bytes, buffer, bytes); | ^~~~~~ newlzx/lzxglue.c:107:5: note: include ‘’ or provide a declaration of ‘memcpy’ cc -O2 -fPIC -Wall -Ides -Isha -Inewlzx -I. -c -o newlzx/lzxd.o newlzx/lzxd.c newlzx/lzxd.c: In function ‘lzxd_static_init’: newlzx/lzxd.c:362:21: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations] 362 | extra_bits[i+1] = j; | ~~~~~~~~~~~~~~~~^~~ newlzx/lzxd.c:360:24: note: within this loop 360 | for (i = 0, j = 0; i < 51; i += 2) { | ~~^~~~ rm -f openclit.a ar rv openclit.a litatom.o litdrm.o litlib.o litembiggen.o littags.o litmetatags.o litmanifest.o litdirectory.o litsections.o litheaders.o litutil.o sha/mssha1.o des/des.o newlzx/lzxglue.o newlzx/lzxd.o ar: creating openclit.a a - litatom.o a - litdrm.o a - litlib.o a - litembiggen.o a - littags.o a - litmetatags.o a - litmanifest.o a - litdirectory.o a - litsections.o a - litheaders.o a - litutil.o a - sha/mssha1.o a - des/des.o a - newlzx/lzxglue.o a - newlzx/lzxd.o make: Leaving directory '/usr/src/slapt-src-x86_64/office/convertlit/convertlit18src/lib' make: Entering directory '/usr/src/slapt-src-x86_64/office/convertlit/convertlit18src/clit18' cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o clit.o clit.c clit.c: In function ‘main’: clit.c:244:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 244 | fprintf(stderr,"Malloc(%d) failed!\n", strlen(output) + 1); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld clit.c: In function ‘lit_error’: clit.c:369:29: warning: variable ‘w32err’ set but not used [-Wunused-but-set-variable] 369 | unsigned long int w32err; | ^~~~~~ clit.c: In function ‘main’: clit.c:122:16: warning: array subscript 4096 is above array bounds of ‘char[4096]’ [-Warray-bounds] 122 | dir_program[MAX_PATH] = '\0'; | ~~~~~~~~~~~^~~~~~~~~~ clit.c:67:8: note: while referencing ‘dir_program’ 67 | char dir_program[MAX_PATH]; | ^~~~~~~~~~~ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o hexdump.o hexdump.c hexdump.c: In function ‘hexdump’: hexdump.c:37:17: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 37 | memset( strbuffer, ' ', numBytesInString ); | ^~~~~~ hexdump.c:19:1: note: include ‘’ or provide a declaration of ‘memset’ 18 | #include +++ |+#include 19 | hexdump.c:37:17: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 37 | memset( strbuffer, ' ', numBytesInString ); | ^~~~~~ hexdump.c:37:17: note: include ‘’ or provide a declaration of ‘memset’ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o drm5.o drm5.c drm5.c: In function ‘get_next_key’: drm5.c:116:19: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 116 | s = strmerge(dir_program, sKeysFile, NULL); | ^ drm5.c:117:48: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign] 117 | if (s) pFile = read_whole_file(s, &remaining); | ^ | | | U8 * {aka unsigned char *} drm5.c:44:29: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 44 | U8 * read_whole_file(char * filename, int * size_ptr) | ~~~~~~~^~~~~~~~ drm5.c:122:19: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 122 | s = strmerge(dir_lit_file, sKeysFile, NULL); | ^ drm5.c:123:48: warning: pointer targets in passing argument 1 of ‘read_whole_file’ differ in signedness [-Wpointer-sign] 123 | if (s) pFile = read_whole_file(s, &remaining); | ^ | | | U8 * {aka unsigned char *} drm5.c:44:29: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 44 | U8 * read_whole_file(char * filename, int * size_ptr) | ~~~~~~~^~~~~~~~ drm5.c:144:49: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 144 | strcpy(private_key_ptr, pKey); | ^~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ drm5.c:145:45: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 145 | strcpy(modulus_ptr, pModulus); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ drm5.c:168:33: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 168 | strcpy(modulus_ptr, pModulus); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ drm5.c:169:37: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 169 | strcpy(private_key_ptr, pKey); | ^~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ drm5.c: In function ‘ms_base64_decode’: drm5.c:185:9: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 185 | ocp = buff; | ^ drm5.c: In function ‘get_element’: drm5.c:267:14: warning: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration] 267 | if (!isalnum(start[len + 1])) | ^~~~~~~ drm5.c:39:1: note: include ‘’ or provide a declaration of ‘isalnum’ 38 | #include +++ |+#include 39 | drm5.c: In function ‘drm5_handle_key’: drm5.c:382:9: warning: ‘mp_read_unsigned_bin’ is deprecated: replaced by mp_from_ubin [-Wdeprecated-declarations] 382 | if (!res) res = mp_read_unsigned_bin(&c, keyData, keySize); | ^~ In file included from drm5.c:38: /usr/include/tommath.h:732:36: note: declared here 732 | MP_DEPRECATED(mp_from_ubin) mp_err mp_read_unsigned_bin(mp_int *a, const unsigned char *b, int c) MP_WUR; | ^~~~~~~~~~~~~~~~~~~~ drm5.c:384:51: warning: pointer targets in passing argument 2 of ‘my_mp_to_unsigned_bin’ differ in signedness [-Wpointer-sign] 384 | if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key)); | ^~~~~~~ | | | char * drm5.c:295:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 295 | int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len) | ~~~~~~~~~~~~~~~~^ drm5.c:426:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 426 | if (strncmp(pValidation,"MSReader",8) != 0) { | ^~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from drm5.c:32: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o explode.o explode.c explode.c: In function ‘create_file_path’: explode.c:195:30: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 195 | sFiltered = strmerge(pathFile, NULL,NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:195:19: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 195 | sFiltered = strmerge(pathFile, NULL,NULL); | ^ explode.c:197:29: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 197 | sDirname = strmerge(pathFile, NULL,NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:197:18: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 197 | sDirname = strmerge(pathFile, NULL,NULL); | ^ explode.c:234:34: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign] 234 | if ((utf8_strmatch(p,"..") == 2) || | ^~~~ | | | char * In file included from explode.c:30: utils.h:41:33: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 41 | int utf8_strmatch(U8 * s1, U8 * s2); | ~~~~~^~ explode.c:235:34: warning: pointer targets in passing argument 2 of ‘utf8_strmatch’ differ in signedness [-Wpointer-sign] 235 | (utf8_strmatch(p,".") == 1)) { | ^~~ | | | char * In file included from explode.c:30: utils.h:41:33: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 41 | int utf8_strmatch(U8 * s1, U8 * s2); | ~~~~~^~ explode.c:245:30: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:245:41: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:245:19: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 245 | sTemp = strmerge(pathOutput,sDirname, NULL); | ^ explode.c:257:22: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] 257 | status = mkdir(sTemp,0755); | ^~~~~ explode.c:285:26: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:285:38: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:285:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 285 | sTemp = strmerge(pathOutput, sDirname, NULL); | ^ explode.c:287:23: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 287 | f = fopen(sTemp, "r"); | ^~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:24: /usr/include/stdio.h:246:44: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ explode.c:290:27: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 290 | f = fopen(sTemp,"w"); | ^~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:24: /usr/include/stdio.h:246:44: note: expected ‘const char * restrict’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ explode.c: In function ‘create_placeholders’: explode.c:364:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 364 | bytes = strlen(p)+1; | ^ | | | U8 * {aka unsigned char *} In file included from explode.c:26: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ explode.c:385:30: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] 385 | p = create_file_path(pathOutput, slash); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 185 | U8 * create_file_path(U8 * pathOutput, U8 * pathFile) | ~~~~~^~~~~~~~~~ explode.c:390:29: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 390 | s = strmerge(map->sInternal, dot, NULL); | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:390:42: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 390 | s = strmerge(map->sInternal, dot, NULL); | ^~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:390:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 390 | s = strmerge(map->sInternal, dot, NULL); | ^ explode.c:392:38: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] 392 | p = create_file_path(pathOutput, s); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 185 | U8 * create_file_path(U8 * pathOutput, U8 * pathFile) | ~~~~~^~~~~~~~~~ explode.c:398:37: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 398 | s = strmerge(map->sInternal, int2string(-count), dot); | ~~~^~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:398:70: warning: pointer targets in passing argument 3 of ‘strmerge’ differ in signedness [-Wpointer-sign] 398 | s = strmerge(map->sInternal, int2string(-count), dot); | ^~~ | | | U8 * {aka unsigned char *} In file included from explode.c:30: utils.h:38:50: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ explode.c:398:23: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 398 | s = strmerge(map->sInternal, int2string(-count), dot); | ^ explode.c:400:46: warning: pointer targets in passing argument 1 of ‘create_file_path’ differ in signedness [-Wpointer-sign] 400 | p = create_file_path(pathOutput,s); | ^~~~~~~~~~ | | | char * explode.c:185:28: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 185 | U8 * create_file_path(U8 * pathOutput, U8 * pathFile) | ~~~~~^~~~~~~~~~ explode.c: In function ‘write_htmlish_file’: explode.c:501:45: warning: pointer targets in passing argument 1 of ‘make_relative_manifest’ differ in signedness [-Wpointer-sign] 501 | status = make_relative_manifest(pathOriginal,&relative_manifest, | ^~~~~~~~~~~~ | | | char * In file included from explode.c:29: manifest.h:36:28: note: expected ‘U8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 36 | int make_relative_manifest(U8 * , manifest_type * , manifest_type * ); | ^~~~ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o transmute.o transmute.c transmute.c: In function ‘transmute_lit’: transmute.c:53:23: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 53 | drm_size = 2*(strlen(inscription)+1); | ^~~~~~ transmute.c:26:1: note: include ‘’ or provide a declaration of ‘strlen’ 25 | #include "litlib.h" +++ |+#include 26 | transmute.c:53:23: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 53 | drm_size = 2*(strlen(inscription)+1); | ^~~~~~ transmute.c:53:23: note: include ‘’ or provide a declaration of ‘strlen’ transmute.c:59:9: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 59 | memset(drm_data, 0, drm_size); | ^~~~~~ transmute.c:59:9: note: include ‘’ or provide a declaration of ‘memset’ transmute.c:59:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] transmute.c:59:9: note: include ‘’ or provide a declaration of ‘memset’ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o display.o display.c display.c: In function ‘display_lit’: display.c:50:33: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) | ^~~~~~ display.c:26:1: note: include ‘’ or provide a declaration of ‘strcmp’ 25 | #include "litlib.h" +++ |+#include 26 | display.c:50:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} display.c:50:40: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} display.c:52:40: warning: pointer targets in passing argument 2 of ‘lit_get_file’ differ in signedness [-Wpointer-sign] 52 | err = lit_get_file(lit,&entry->name,&p,&real_size); | ^~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from display.c:25: ../lib/litlib.h:232:51: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); | ~~~~~~~~~~~~~^~~~ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o utils.o utils.c utils.c: In function ‘utf8_strlen’: utils.c:100:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 100 | bytes = strlen(p)+1; | ^ | | | U8 * {aka unsigned char *} In file included from utils.c:25: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function ‘utf8_strmatch’: utils.c:119:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 119 | bytes1 = strlen(s1)+1; | ^~ | | | U8 * {aka unsigned char *} In file included from utils.c:25: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c:120:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 120 | bytes2 = strlen(s2)+1; | ^~ | | | U8 * {aka unsigned char *} In file included from utils.c:25: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function ‘utf8_start’: utils.c:146:26: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 146 | iter->bytes = strlen(string); | ^~~~~~ | | | U8 * {aka unsigned char *} In file included from utils.c:25: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ cc -funsigned-char -Wall -O2 -fPIC -I ../lib -I ../lib/des -I . -c -o manifest.o manifest.c manifest.c: In function ‘mapping_init’: manifest.c:33:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] 33 | memset(m, 0, sizeof(mapping_state)); | ^~~~~~ manifest.c:29:1: note: include ‘’ or provide a declaration of ‘memset’ 28 | #include "utils.h" +++ |+#include 29 | manifest.c:33:5: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 33 | memset(m, 0, sizeof(mapping_state)); | ^~~~~~ manifest.c:33:5: note: include ‘’ or provide a declaration of ‘memset’ manifest.c: In function ‘duplicate_manifest’: manifest.c:75:5: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch] 75 | memset(pDest, 0, sizeof(manifest_type)); | ^~~~~~ manifest.c:75:5: note: include ‘’ or provide a declaration of ‘memset’ manifest.c:94:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 94 | s = strmerge((char *)mapSrc->sOriginal, NULL, NULL); | ^ manifest.c:98:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 98 | s = strmerge((char *)mapSrc->sInternal, NULL, NULL); | ^ manifest.c:102:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 102 | s = strmerge((char *)mapSrc->sType, NULL, NULL); | ^ manifest.c: In function ‘make_relative_manifest’: manifest.c:175:40: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 175 | s = strmerge("../",sRelative, NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:175:23: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 175 | s = strmerge("../",sRelative, NULL); | ^ manifest.c:176:44: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 176 | } else s = strmerge("..\\",sRelative, NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:176:26: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 176 | } else s = strmerge("..\\",sRelative, NULL); | ^ manifest.c:182:26: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); | ^~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:182:36: warning: pointer targets in passing argument 2 of ‘strmerge’ differ in signedness [-Wpointer-sign] 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); | ^~~~~~~~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:37: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:182:15: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); | ^ manifest.c:185:34: warning: pointer targets in passing argument 1 of ‘strmerge’ differ in signedness [-Wpointer-sign] 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); | ^~~~~~~~~~~~~~~~~~ | | | U8 * {aka unsigned char *} In file included from manifest.c:28: utils.h:38:24: note: expected ‘char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’} 38 | char * strmerge(char * head, char * body, char * tail); | ~~~~~~~^~~~ manifest.c:185:23: warning: pointer targets in assignment from ‘char *’ to ‘U8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); | ^ manifest.c:135:22: warning: variable ‘slashMe’ set but not used [-Wunused-but-set-variable] 135 | U8 *slashMe, *slashYou, *sRelative, *s; | ^~~~~~~ gcc -o clit clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a -ltommath make: Leaving directory '/usr/src/slapt-src-x86_64/office/convertlit/convertlit18src/clit18' Slackware package maker, version 3.14159265. 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-x86_64/office/convertlit/convertlit-1.8-x86_64-3salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/convertlit usr/bin/lit2epub usr/doc/ usr/doc/convertlit-1.8/ usr/doc/convertlit-1.8/COPYING usr/doc/convertlit-1.8/README usr/doc/convertlit-1.8/convertlit.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/convertlit.1.gz usr/man/man1/lit2epub.1.gz Slackware package /usr/src/slapt-src-x86_64/office/convertlit/convertlit-1.8-x86_64-3salix15.0.txz created. Installing package convertlit-1.8-x86_64-3salix15.0... | convertlit (converts .lit files to .epub) | | Converts Microsoft Reader format eBooks into open format for use | with software or devices which are not directly compatible with | Microsoft's Reader. | | | | | | | |