• Bug#1066270: convlit: FTBFS: litsections.c:332:14: error: implicit decl

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:00:07 2024
    Source: convlit
    Version: 1.8-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.

    This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

    Relevant part (hopefully):
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litheaders.o litheaders.c
    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:246:34: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
    246 | 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));\
    | ^ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
    407 | 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));\
    | ^ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
    407 | 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));\
    | ^ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
    407 | 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 *’
    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: error: implicit declaration of function ‘LZXinit’; did you mean ‘lzxd_init’? [-Werror=implicit-function-declaration]
    332 | status = LZXinit(window_size);
    | ^~~~~~~
    | lzxd_init
    litsections.c:402:17: error: implicit declaration of function ‘LZXreset’ [-Werror=implicit-function-declaration]
    402 | LZXreset();
    | ^~~~~~~~
    litsections.c:403:26: error: implicit declaration of function ‘LZXdecompress’; did you mean ‘lzxd_decompress’? [-Werror=implicit-function-declaration]
    403 | status = LZXdecompress(pContent + base, ptr+dst,
    | ^~~~~~~~~~~~~
    | lzxd_decompress
    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:159:33: note: expected ‘const char *’ but argument is of type ‘U8 *’ {aka ‘unsigned char *’}
    159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
    | ~~~~~~~~~~~~^~~~
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litutil.o litutil.c
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o sha/mssha1.o sha/mssha1.c
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o des/des.o des/des.c
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o newlzx/lzxglue.o newlzx/lzxglue.c
    cc1: some warnings being treated as errors
    cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -fstack-protector-strong -Wformat -Werror=format-security -
    Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o newlzx/lzxd.o newlzx/lzxd.c
    make[2]: *** [<builtin>: litsections.o] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/convlit_1.8-4_unstable.log


    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)