In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from rsum.c:23:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from md4test.c:18:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from hash.c:23:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
hash.c: In function ‘print_hashstats’:
hash.c:58:56: warning: unused parameter ‘z’ [-Wunused-parameter]
   58 | static void print_hashstats(const struct rcksum_state* z) {
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
hash.c: In function ‘build_hash’:
hash.c:142:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘zs_blockid’ {aka ‘int’} [-Wsign-compare]
  142 |     while ((1U << (hash_bits-1)) > z->blocks && hash_bits > 5)
      |                                  ^
rsumtest.c: In function ‘make_0000ff00_data’:
rsumtest.c:19:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   19 |     for (i = 0; i < len; i++) {
      |                   ^
rsumtest.c: In function ‘test_abcde’:
rsumtest.c:40:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
   40 |     for (i = 0; i < sizeof(data); i++) {
      |                   ^
rsumtest.c: At top level:
rsumtest.c:78:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
   78 | void main(void) {
      |      ^~~~
md4.c:36: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   36 | #pragma clang diagnostic ignored "-Wconversion"
      | 
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from range.c:23:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from state.c:24:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ../progress.c:19:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
inftrees.c: In function ‘inflate_table’:
inftrees.c:217:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  217 |         if (work[sym] + 1 < match) {
      |                           ^
inflate.c: In function ‘inflate’:
inflate.c:639:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  639 |             state->mode = EXLEN;
      |             ~~~~~~~~~~~~^~~~~~~
inflate.c:640:9: note: here
  640 |         case EXLEN:
      |         ^~~~
inflate.c:647:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  647 |             state->mode = EXTRA;
      |             ~~~~~~~~~~~~^~~~~~~
inflate.c:648:9: note: here
  648 |         case EXTRA:
      |         ^~~~
inflate.c:661:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  661 |             state->mode = NAME;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:662:9: note: here
  662 |         case NAME:
      |         ^~~~
inflate.c:675:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  675 |             state->mode = COMMENT;
      |             ~~~~~~~~~~~~^~~~~~~~~
inflate.c:676:9: note: here
  676 |         case COMMENT:
      |         ^~~~
inflate.c:689:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  689 |             state->mode = HCRC;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:690:9: note: here
  690 |         case HCRC:
      |         ^~~~
inflate.c:708:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  708 |             state->mode = DICT;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:709:9: note: here
  709 |         case DICT:
      |         ^~~~
inflate.c:715:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  715 |             state->mode = TYPE;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:716:9: note: here
  716 |         case TYPE:
      |         ^~~~
inflate.c:717:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  717 |             if (flush == Z_BLOCK) goto inf_leave;
      |                ^
inflate.c:718:9: note: here
  718 |         case TYPEDO:
      |         ^~~~
inflate.c:762:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  762 |             state->mode = COPY;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:763:9: note: here
  763 |         case COPY:
      |         ^~~~
inflate.c:892:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  892 |             state->mode = LEN;
      |             ~~~~~~~~~~~~^~~~~
inflate.c:893:9: note: here
  893 |         case LEN:
      |         ^~~~
inflate.c:933:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  933 |             state->mode = LENEXT;
      |             ~~~~~~~~~~~~^~~~~~~~
inflate.c:934:9: note: here
  934 |         case LENEXT:
      |         ^~~~
inflate.c:941:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  941 |             state->mode = DIST;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:942:9: note: here
  942 |         case DIST:
      |         ^~~~
inflate.c:966:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  966 |             state->mode = DISTEXT;
      |             ~~~~~~~~~~~~^~~~~~~~~
inflate.c:967:9: note: here
  967 |         case DISTEXT:
      |         ^~~~
inflate.c:979:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  979 |             state->mode = MATCH;
      |             ~~~~~~~~~~~~^~~~~~~
inflate.c:980:9: note: here
  980 |         case MATCH:
      |         ^~~~
inflate.c:1034:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1034 |             state->mode = LENGTH;
      |             ~~~~~~~~~~~~^~~~~~~~
inflate.c:1035:9: note: here
 1035 |         case LENGTH:
      |         ^~~~
inflate.c:1047:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1047 |             state->mode = DONE;
      |             ~~~~~~~~~~~~^~~~~~
inflate.c:1048:9: note: here
 1048 |         case DONE:
      |         ^~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/limits.h:205,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/limits.h:34,
                 from zsync.c:37:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/sys/types.h:25,
                 from /usr/include/sys/param.h:25,
                 from sha1.c:23:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from sha1test.c:18:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from zmap.c:26:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
zsync.c: In function ‘zsync_begin’:
zsync.c:246:68: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  246 |                     if (fread(zblock, sizeof *zblock, nzblocks, f) < nzblocks) {
      |                                                                    ^
zsync.c: In function ‘zsync_recompress’:
zsync.c:704:56: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  704 |                 if (fwrite(p, 1, bytes_to_write, zout) != bytes_to_write) {
      |                                                        ^~
zsync.c: In function ‘zsync_receive_data_compressed’:
zsync.c:926:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  926 |     zr->strm.next_in = buf;
      |                      ^
zsync.c:929:42: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘uLong’ {aka ‘long unsigned int’} [-Wsign-compare]
  929 |     if (zr->strm.total_in == 0 || offset != zr->strm.total_in) {
      |                                          ^~
zsync.c:943:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  943 |         zr->strm.next_in = buf;
      |                          ^
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from client.c:21:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from makegz.c:19:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from http.c:22:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from make.c:20:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from url.c:21:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
url.c: In function ‘get_http_host_port’:
url.c:46:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   46 |     q = url + strlen(http_scheme);
      |       ^
http.c: In function ‘range_fetch_set_url’:
http.c:549:54: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
  549 |         snprintf(rf->hosth, sizeof(rf->hosth), "%s:%s", hostn, cport);
      |                                                      ^
In file included from /usr/include/stdio.h:894:
In function ‘snprintf’,
    inlined from ‘range_fetch_set_url’ at http.c:549:9:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
client.c: In function ‘fetch_remaining_blocks_http’:
client.c:355:17: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized]
  355 |                 do_progress(p, calc_zsync_progress(z),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  356 |                             range_fetch_bytes_down(rf));
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:336:26: note: ‘p’ was declared here
  336 |         struct progress *p;
      |                          ^
http.c: In function ‘http_get’:
http.c:461:25: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized]
  461 |                         do_progress(p, len ? (100.0 * got / len) : 0, got);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http.c:434:30: note: ‘p’ was declared here
  434 |             struct progress *p;
      |                              ^