* Package: app-text/convertlit-1.8-r3:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking clit18src.zip to /var/tmp/portage/app-text/convertlit-1.8-r3/work >>> Source unpacked in /var/tmp/portage/app-text/convertlit-1.8-r3/work >>> Preparing source in /var/tmp/portage/app-text/convertlit-1.8-r3/work ... * Applying convertlit-1.8-respectflags-r1.patch ... [ ok ] * Applying fix-Wformat-security-warnings.patch ... [ ok ] * Applying support-ar-variable.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/convertlit-1.8-r3/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/convertlit-1.8-r3/work ... make -j4 clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litatom.o litatom.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litdrm.o litdrm.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litlib.o litlib.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litembiggen.o litembiggen.c litdrm.c:135:33: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { ^~~ /usr/include/string.h:159:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ litatom.c:123:19: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(s,p + 1, len); ^~~~~ /usr/include/string.h:145:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ litlib.c:189:47: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); ^~~~~~~~~~~~ ./litlib.h:232:51: note: passing argument to parameter 'name' here int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); ^ litatom.c:186:19: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(s,p, len); ^ /usr/include/string.h:145:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ litlib.c:235:29: warning: passing 'U8 *' (aka 'unsigned char *') tolitdrm.c parameter: 250of: 52 :type warning: 'const char *' passingconverts between'U8[129]' pointers(aka 'unsigned char[129]') toto integer parametertypes ofwhere typeone 'char *' isconverts ofbetween thepointers uniqueto plaininteger 'char'types type whereand onethe isother isof notthe [-Wpointer-sign]unique plain 'char' type and the match = strncasecmp(&entry->name, name, entry->namelen);other ^~~~~~~~~~~~is not [-Wpointer-sign]/usr/include/strings.h :120:37: note: passing argument to parameter '__s1' status = lit_i_encrypt_section(litfile,litfile->sections[i].name, here ^~~~~~~~~~~~~~~~~~~~~~~~~ ./litinternal.h:extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)52 : ^44 : note: passing argument to parameter here int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); ^ litlib.c:361:29: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] match = strncasecmp(&entry->name,prefix, strlen(prefix)); ^~~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ litlib.c:400:29: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] match = strncasecmp(&entry->name, name, entry->namelen); ^~~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ litlib.c:429:16: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&new->name, name); ^~~~~~~~~~ /usr/include/string.h:141:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ litembiggen.c:286:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\n'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:290:25: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:304:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('<'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:340:30: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(tag_name); ^~~~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:360:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:361:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('/'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:362:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('>'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:366:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('>'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:420:25: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\n'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:423:29: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:426:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('<'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:427:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('/'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:428:34: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(tag_name); ^~~~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:429:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('>'); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:478:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:479:34: warning: passing 'char[20]' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(numbuf); ^~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:488:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:489:34: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING((char *)tmp_map->name); ^~~~~~~~~~~~~~~~~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:493:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('='); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:508:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\"'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:513:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\"'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:532:34: warning: passing 'char[20]' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(numbuf); ^~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:547:21: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\"'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:575:30: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(tag_name); ^~~~~~~~ litembiggen.c:69:35: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ litembiggen.c:587:13: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR(' '); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:595:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('='); ^~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:622:35: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hash_ptr = strchr(href_value,'#'); ^~~~~~~~~~ /usr/include/string.h:246:34: note: passing argument to parameter '__s' here extern char *strchr (const char *__s, int __c) ^ litembiggen.c:622:26: warning: assigning to 'U8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hash_ptr = strchr(href_value,'#'); ^ ~~~~~~~~~~~~~~~~~~~~~~ litembiggen.c:624:30: warning: assigning to 'U8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] new_href = lit_lookup_mapping(pManifest, href_value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ litembiggen.c:627:30: warning: assigning to 'U8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] new_href = lit_lookup_mapping(pManifest, href_value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ litembiggen.c:629:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\"'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:631:34: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(new_href); ^~~~~~~~ litembiggen.c:69:44: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ litembiggen.c:633:38: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(hash_ptr); ^~~~~~~~ litembiggen.c:69:44: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ litembiggen.c:637:34: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_STRING(href_value); ^~~~~~~~~~ litembiggen.c:69:44: note: expanded from macro 'WRITE_STRING' status = htmlwrite(write_data,s,strlen(s));\ ^ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ litembiggen.c:639:17: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_CHAR('\"'); ^~~~~~~~~~~~~~~~ litembiggen.c:64:35: note: expanded from macro 'WRITE_CHAR' status = htmlwrite(write_data,&ch,1);\ ^~~ litembiggen.c:690:39: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = htmlwrite(write_data,&ch, 1); ^~~ litembiggen.c:694:39: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = htmlwrite(write_data,entities[found].name, ^~~~~~~~~~~~~~~~~~~~ litembiggen.c:699:39: warning: passing 'char *' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = htmlwrite(write_data,&ch, 1); ^~~ litembiggen.c:712:37: warning: passing 'char[14]' to parameter of type 'U8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return htmlwrite(write_data,ent_buffer,len); ^~~~~~~~~~ 5 warnings generated. 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o littags.o littags.c 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litmetatags.o litmetatags.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litmanifest.o litmanifest.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litdirectory.o litdirectory.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litsections.o litsections.c 39 warnings generated. litmanifest.c:242:25: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^ /usr/include/string.h:159:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ litmanifest.c:242:28: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(s, map->sInternal, size) == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:159:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ litmanifest.c:243:24: warning: returning 'U8 *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return map->sOriginal; ^~~~~~~~~~~~~~ clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litheaders.o litheaders.c litsections.c:189:50: warning: passing 'U8[129]' (aka 'unsigned char[129]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3 warnings generated. status = decompress_section(litfile, pSection->name, ^~~~~~~~~~~~~~ litsections.c:36:58: note: passing argument to parameter 'section_name' here static int decompress_section(lit_file * litfile, char * section_name, ^ litsections.c:332:14: error: call to undeclared function 'LZXinit'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] status = LZXinit(window_size); ^ litsections.c:402:17: error: call to undeclared function 'LZXreset'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] LZXreset(); ^ litsections.c:403:26: error: call to undeclared function 'LZXdecompress'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] status = LZXdecompress(pContent + base, ptr+dst, ^ litsections.c:422:9: error: call to undeclared function 'LZXreset'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] LZXreset(); ^ litsections.c:423:18: error: call to undeclared function 'LZXdecompress'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] status = LZXdecompress(pContent + base, ptr + dst, ^ 1 warning and 5 errors generated. clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Ides -Isha -Inewlzx -I. -c -o litutil.o litutil.c make: *** [: litsections.o] Error 1 make: *** Waiting for unfinished jobs.... litheaders.c:219:17: warning: passing 'U8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp(header, lit_magic_string, strlen(lit_magic_string)) != 0) { ^~~~~~ /usr/include/string.h:159:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ 1 warning generated. * ERROR: app-text/convertlit-1.8-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/convertlit-1.8-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/convertlit-1.8-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:convertlit-1.8-r3:20220917-170445.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/convertlit-1.8-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/convertlit-1.8-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-text/convertlit-1.8-r3/work/lib' * S: '/var/tmp/portage/app-text/convertlit-1.8-r3/work'