Snippets for mldonkey 3.1.7.2 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/mldonkey-core/3.1.7.2/150arm64-default.log.
-
wget.c:114:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | close(f); | ^ -
wget.c:123:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | close(f); | ^ -
wget.c:130:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | write(fd, buf, strlen(buf)); | ^ -
wget.c:132:20: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | while((nread = read(fd, buf, 1)) > 0){ | ^ -
wget.c:143:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | close(f); | ^ -
src/utils/cdk/zlibstubs.c:61:23: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61 | camlzip_error_exn = caml_named_value("Zlib.Error"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/cdk/zlibstubs.c:63:7: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] 63 | invalid_argument("Exception Zlib.Error not initialized"); | ^ -
src/utils/cdk/zlibstubs.c:66:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 66 | s1 = copy_string(fn); | ^ -
src/utils/cdk/zlibstubs.c:67:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 67 | s2 = copy_string(msg); | ^ -
src/utils/cdk/zlibstubs.c:68:14: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 68 | bucket = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:73:3: warning: "mlraise" is deprecated: use "caml_raise" instead [-W#pragma-messages] 73 | mlraise(bucket); | ^ -
src/utils/cdk/zlibstubs.c:122:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 122 | res = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:172:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 172 | res = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:195:10: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] 195 | return copy_int32(crc32((uint32_t) Int32_val(crc), | ^ -
src/utils/cdk/zlibstubs.c:213:25: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 213 | camlzip_bzerror_exn = caml_named_value("Bzlib.Error"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/cdk/zlibstubs.c:215:7: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] 215 | invalid_argument("Exception Bzlib.Error not initialized"); | ^ -
src/utils/cdk/zlibstubs.c:218:10: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 218 | s1 = copy_string(fn); | ^ -
src/utils/cdk/zlibstubs.c:241:14: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 241 | bucket = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:246:3: warning: "mlraise" is deprecated: use "caml_raise" instead [-W#pragma-messages] 246 | mlraise(bucket); | ^ -
src/utils/cdk/zlibstubs.c:299:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 299 | res = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:360:9: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead [-W#pragma-messages] 360 | res = alloc_small(3, 0); | ^ -
src/utils/cdk/zlibstubs.c:393:7: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 393 | v = copy_string (zlibVersion()); | ^ -
src/utils/cdk/zlibstubs.c:405:7: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 405 | v = copy_string (BZ2_bzlibVersion()); | ^ -
src/config/unix/os_stubs_c.c:70:11: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 70 | if(!fd) failwith("ftruncate32: file is closed"); | ^ -
src/config/unix/os_stubs_c.c:86:50: warning: format specifies type 'long long' but the argument has type 'OFF_T' (aka 'long') [-Wformat] 86 | fprintf(stderr, "ftruncate(%d,%Ld)\n", fd, len); | ~~~ ^~~ | %ld -
src/config/unix/os_stubs_c.c:174:3: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 174 | raise_constant(*(value *)caml_named_value("not supported")); | ^ -
src/utils/lib/fst_hash.c:326:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | if(fst_hash_file(String_val(digest), String_val(filename), | ^~~~~~~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:328:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 328 | failwith("Exception during FST computation"); | ^ -
src/utils/lib/fst_hash.c:333:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:333:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:339:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | return Val_int(fst_hash_checksum(String_val(digest))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/md4.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void MD4Init (context) | ^ -
src/utils/lib/md4.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | void MD4Init PROTO_LIST ((MD4_CTX *)); | ^ -
src/utils/lib/md4.c:114:18: warning: passing arguments to 'MD4Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | MD4Transform (context->state, context->buffer); | ^ -
src/utils/lib/md4.c:117:20: warning: passing arguments to 'MD4Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | MD4Transform (context->state, &input[i]); | ^ -
src/utils/lib/md4.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void MD4Update (context, input, inputLen) | ^ -
src/utils/lib/md4.h:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | void MD4Update PROTO_LIST | ^ -
src/utils/lib/md4.c:139:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Encode (bits, context->count, 8); | ^ -
src/utils/lib/md4.c:150:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | Encode (digest, context->state, 16); | ^ -
src/utils/lib/md4.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void MD4Final (digest, context) | ^ -
src/utils/lib/md4.h:67:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | void MD4Final PROTO_LIST ((unsigned char [16], MD4_CTX *)); | ^ -
src/utils/lib/md4.c:166:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | Decode (x, block, 64); | ^ -
src/utils/lib/md4.c:160:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | static void MD4Transform (state, block) | ^ -
src/utils/lib/md4.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void MD4Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); | ^ -
src/utils/lib/md4.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static void Encode (output, input, len) | ^ -
src/utils/lib/md4.c:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static void Encode PROTO_LIST ((unsigned char *, UINT4 *, unsigned int)); | ^ -
src/utils/lib/md4.c:254:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | static void Decode (output, input, len) | ^ -
src/utils/lib/md4.c:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static void Decode PROTO_LIST ((UINT4 *, unsigned char *, unsigned int)); | ^ -
src/utils/lib/charsetstubs.c:171:15: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 171 | closure_f = caml_named_value("charset_error"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/charsetstubs.c:173:3: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 173 | raise_constant(*closure_f); | ^ -
src/utils/lib/charsetstubs.c:1207:23: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1207 | return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left); | ^~~~~ -
src/utils/lib/charsetstubs.c:1339:7: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 1339 | v = alloc_string (len); | ^ -
src/utils/lib/charsetstubs.c:1351:38: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 1351 | c_res = ml_convert(String_val(str),string_length(str), | ^ -
src/utils/lib/charsetstubs.c:1361:33: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 1361 | return Val_bool(utf8_validate(SizedString_val(s),NULL)); | ^ -
src/utils/lib/charsetstubs.c:1380:11: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 1380 | return (copy_string ((char*) str)); | ^ -
src/utils/lib/tiger.c:797:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | tiger_hash(0, s+pos, length, digest); | ^~~~~~ -
src/utils/lib/tiger.c:806:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 806 | tiger_hash(1,digests, 2*DIGEST_LEN, digest); | ^~~~~~ -
src/utils/lib/tiger.c:830:18: warning: initializing 'unsigned char *' with an expression 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] 830 | unsigned char *digest = String_val(digest_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/tiger.c:831:18: warning: initializing 'unsigned char *' with an expression 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] 831 | unsigned char *string = String_val(string_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/tiger.c:834:22: warning: passing '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] 834 | tiger_tree_string (string, len, 0, tiger_block_size(len), digest); | ^~~~~~ -
src/utils/lib/tiger.c:834:61: warning: passing '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] 834 | tiger_tree_string (string, len, 0, tiger_block_size(len), digest); | ^~~~~~ -
src/utils/lib/tiger.c:841:18: warning: initializing 'unsigned char *' with an expression 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] 841 | unsigned char *digest = String_val(digest_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/tiger.c:842:18: warning: initializing 'unsigned char *' with an expression 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] 842 | unsigned char *string = String_val(string_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:143:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] 143 | enter_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:145:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] 145 | leave_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:216:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] 216 | enter_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:218:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] 218 | leave_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:375:10: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 375 | return copy_int64(os_getfilesize(String_val(path))); | ^ -
src/utils/lib/stubs_c.c:390:10: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 390 | return copy_int64(os_getfdsize(fd)); | ^ -
src/utils/lib/stubs_c.c:484:3: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] 484 | raise_not_found(); | ^ -
src/utils/lib/stubs_c.c:488:9: warning: "alloc" is deprecated: use "caml_alloc" instead [-W#pragma-messages] 488 | res = alloc(4,0); | ^ -
src/utils/lib/stubs_c.c:583:1: warning: initializing 'unsigned char *' with an expression 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] 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:583:1: warning: passing 'unsigned char[131072]' 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] 583 | ML_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:583:1: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages]
-
src/utils/lib/stubs_c.c:584:1: warning: initializing 'unsigned char *' with an expression 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] 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:584:1: warning: passing 'unsigned char[131072]' 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] 584 | ML_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:584:1: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages]
-
src/utils/lib/stubs_c.c:585:1: warning: initializing 'unsigned char *' with an expression 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] 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:585:1: warning: passing arguments to 'MD4Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
-
src/utils/lib/stubs_c.c:585:1: warning: passing 'unsigned char[131072]' 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] 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:585:39: warning: passing arguments to 'MD4Final' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^ -
src/utils/lib/stubs_c.c:585:1: warning: passing arguments to 'MD4Update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^ -
src/utils/lib/stubs_c.c:585:1: warning: passing arguments to 'MD4Update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
-
src/utils/lib/stubs_c.c:585:1: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages]
-
src/utils/lib/stubs_c.c:617:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 617 | tiger_hash(0, s, length, digest); | ^~~~~~ -
src/utils/lib/stubs_c.c:626:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 626 | tiger_hash(1,digests, 2*DIGEST_LEN, digest); | ^~~~~~ -
src/utils/lib/stubs_c.c:636:18: warning: initializing 'unsigned char *' with an expression 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] 636 | unsigned char *digest = String_val(digest_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:641:52: warning: passing '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] 641 | tiger_tree_fd(fd, len, 0, tiger_block_size(len), digest); | ^~~~~~ -
src/utils/lib/stubs_c.c:733:5: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] 733 | enter_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:735:5: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] 735 | leave_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:909:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] 909 | enter_blocking_section(); | ^ -
src/utils/lib/stubs_c.c:915:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] 915 | leave_blocking_section (); | ^ -
src/utils/lib/stubs_c.c:1102:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1102 | v = copy_int64 (-1); caml_modify (&Field (bufv, 0), v); | ^ -
src/utils/lib/stubs_c.c:1106:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1106 | v = copy_int64 (buf->f_bsize); caml_modify (&Field (bufv, 1), v); | ^ -
src/utils/lib/stubs_c.c:1107:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1107 | v = copy_int64 (buf->f_blocks); caml_modify (&Field (bufv, 2), v); | ^ -
src/utils/lib/stubs_c.c:1108:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1108 | v = copy_int64 (buf->f_bfree); caml_modify (&Field (bufv, 3), v); | ^ -
src/utils/lib/stubs_c.c:1109:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1109 | v = copy_int64 (buf->f_bavail); caml_modify (&Field (bufv, 4), v); | ^ -
src/utils/lib/stubs_c.c:1110:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1110 | v = copy_int64 (buf->f_files); caml_modify (&Field (bufv, 5), v); | ^ -
src/utils/lib/stubs_c.c:1111:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1111 | v = copy_int64 (buf->f_ffree); caml_modify (&Field (bufv, 6), v); | ^ -
src/utils/lib/stubs_c.c:1127:10: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1127 | v = copy_int64 (buf->f_namemax); caml_modify (&Field (bufv, 8), v); | ^ -
src/utils/lib/stubs_c.c:1129:7: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 1129 | v = copy_string (buf->f_fstypename); caml_modify (&Field (bufv, 9), v); | ^ -
src/utils/lib/stubs_c.c:1135:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1135 | v = copy_int64 (-1); caml_modify (&Field (bufv, 10), v); | ^ -
src/utils/lib/stubs_c.c:1155:5: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 1155 | raise_constant(*(value *)caml_named_value("error")); | ^ -
src/utils/lib/stubs_c.c:1266:7: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 1266 | v = copy_string ("little endian"); | ^ -
src/utils/lib/stubs_c.c:1370:12: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead [-W#pragma-messages] 1370 | retval = alloc_tuple(2); | ^ -
src/utils/lib/magiclib_stub.c:49:24: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 49 | if (exn == NULL) exn = caml_named_value("Magiclib.Failure"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/magiclib_stub.c:50:3: warning: "raise_with_string" is deprecated: use "caml_raise_with_string" instead [-W#pragma-messages] 50 | raise_with_string(*exn, (char *) msg); | ^ -
src/utils/lib/magiclib_stub.c:63:7: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] 63 | raise_out_of_memory(); | ^ -
src/utils/lib/magiclib_stub.c:75:41: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] 75 | if ((errmsg = malloc(len)) == NULL) raise_out_of_memory(); | ^ -
src/utils/lib/magiclib_stub.c:81:27: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] 81 | if (errmsg == NULL) raise_out_of_memory(); | ^ -
src/utils/lib/magiclib_stub.c:86:5: warning: "raise_sys_error" is deprecated: use "caml_raise_sys_error" instead [-W#pragma-messages] 86 | raise_sys_error(copy_string(errmsg)); | ^ -
src/utils/lib/magiclib_stub.c:86:21: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 86 | raise_sys_error(copy_string(errmsg)); | ^ -
src/utils/lib/magiclib_stub.c:141:7: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 141 | c = ALLOC_COOKIE; | ^ -
src/utils/lib/magiclib_stub.c:148:43: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] 148 | if ((errmsg = malloc(len)) == NULL) raise_out_of_memory(); | ^ -
src/utils/lib/magiclib_stub.c:153:54: warning: "raise_out_of_memory" is deprecated: use "caml_raise_out_of_memory" instead [-W#pragma-messages] 153 | if ((errmsg = realloc(errmsg, len)) == NULL) raise_out_of_memory(); | ^ -
src/utils/lib/magiclib_stub.c:158:7: warning: "raise_sys_error" is deprecated: use "caml_raise_sys_error" instead [-W#pragma-messages] 158 | raise_sys_error(copy_string(errmsg)); | ^ -
src/utils/lib/magiclib_stub.c:158:23: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 158 | raise_sys_error(copy_string(errmsg)); | ^ -
src/utils/lib/magiclib_stub.c:181:23: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead [-W#pragma-messages] 181 | if (cookie == NULL) invalid_argument("Magiclib.file"); | ^ -
src/utils/lib/magiclib_stub.c:185:14: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 185 | CAMLreturn(copy_string(ans)); | ^ -
src/utils/lib/magiclib_stub.c:198:14: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 198 | CAMLreturn(copy_string(ans)); | ^ -
src/daemon/common/commonHasher_c.c:83:1: warning: passing 'unsigned char[131072]' 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] 83 | COMPLETE_HASH(sha1,SHA1_CTX,sha1_begin,sha1_hash, sha1_end) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:84:1: warning: passing 'unsigned char[131072]' 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] 84 | COMPLETE_HASH(md5,md5_state_t,md5_init,md5_append,md5_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:85:1: warning: passing arguments to 'MD4Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | COMPLETE_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^ -
src/daemon/common/commonHasher_c.c:85:1: warning: passing 'unsigned char[131072]' 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] 85 | COMPLETE_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:85:45: warning: passing arguments to 'MD4Final' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | COMPLETE_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^ -
src/daemon/common/commonHasher_c.c:85:1: warning: passing arguments to 'MD4Update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | COMPLETE_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^ -
src/daemon/common/commonHasher_c.c:111:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | tiger_hash(0, s, length, digest); | ^~~~~~ -
src/daemon/common/commonHasher_c.c:120:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | tiger_hash(1,digests, 2*DIGEST_LEN, digest); | ^~~~~~ -
src/daemon/common/commonHasher_c.c:296:22: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 296 | int result_len = string_length(result_v); | ^ -
src/daemon/common/commonHasher_c.c:338:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 338 | md4_unsafe64_fd_direct(job_fd, job_begin_pos, job_len, p_job_result); | ^~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:342:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | md5_unsafe64_fd_direct(job_fd, job_begin_pos, job_len, p_job_result); | ^~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:346:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 346 | sha1_unsafe64_fd_direct(job_fd, job_begin_pos, job_len, p_job_result); | ^~~~~~~~~~~~ -
src/daemon/common/commonHasher_c.c:396:3: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead [-W#pragma-messages] 396 | enter_blocking_section(); | ^ -
src/daemon/common/commonHasher_c.c:402:3: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead [-W#pragma-messages] 402 | leave_blocking_section (); | ^ -
src/networks/direct_connect/che3_c.c:183:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | value=get_bits(data_string,&offset_pattern,v_len); | ^~~~~~~~~~~ -
src/networks/direct_connect/che3_c.c:197:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | cur_val=get_bit(data_string,&offset_encoded); /* get one bit */ | ^~~~~~~~~~~ -
src/networks/direct_connect/che3_c.c:202:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | cur_val=(cur_val<<1)|get_bit(data_string,&offset_encoded); | ^~~~~~~~~~~ -
src/networks/direct_connect/che3_c.c:528:13: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 528 | int len = string_length(s_v); | ^ -
src/networks/direct_connect/che3_c.c:535:9: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 535 | res = alloc_string(final_len); | ^ -
src/networks/direct_connect/che3_c.c:544:13: warning: "string_length" is deprecated: use "caml_string_length" instead [-W#pragma-messages] 544 | int len = string_length(s_v); | ^ -
src/networks/direct_connect/che3_c.c:551:9: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead [-W#pragma-messages] 551 | res = alloc_string(final_len); | ^ -
src/networks/fasttrack/fst_crypt_ml.c:56:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 56 | fst_cipher_crypt(cipher, s+pos, len); | ^~~~~ -
src/utils/lib/CryptoPP.h:4361:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions] 4361 | throw ParameterNotUsed(m_name); | ^ -
src/utils/lib/CryptoPP.cc:698:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 698 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^ -
src/utils/lib/CryptoPP.cc:704:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 704 | std::auto_ptr<PK_MessageAccumulator> m(NewSignatureAccumulator(rng)); | ^ -
src/utils/lib/CryptoPP.cc:712:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 712 | std::auto_ptr<PK_MessageAccumulator> m(NewSignatureAccumulator(rng)); | ^ -
src/utils/lib/CryptoPP.cc:720:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 720 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^ -
src/utils/lib/CryptoPP.cc:726:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 726 | std::auto_ptr<PK_MessageAccumulator> m(NewVerificationAccumulator()); | ^ -
src/utils/lib/CryptoPP.cc:734:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 734 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^ -
src/utils/lib/CryptoPP.cc:742:7: warning: 'auto_ptr<CryptoPP::PK_MessageAccumulator>' is deprecated [-Wdeprecated-declarations] 742 | std::auto_ptr<PK_MessageAccumulator> m(NewVerificationAccumulator()); | ^ -
src/utils/lib/CryptoPP.cc:1047:8: warning: 'auto_ptr<std::vector<unsigned short>>' is deprecated [-Wdeprecated-declarations] 1047 | std::auto_ptr<std::vector<word16> > pPrimeTable(new std::vector<word16>); | ^ -
src/utils/lib/CryptoPP.cc:6788:8: warning: 'auto_ptr<CryptoPP::OutputProxy>' is deprecated [-Wdeprecated-declarations] 6788 | std::auto_ptr<OutputProxy> temp(proxy = new OutputProxy(*this, false)); | ^ -
src/utils/lib/CryptoPP.h:4291:74: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 4291 | R value = Hack_DefaultValueFromConstReferenceType(reinterpret_cast<R>(*(int *)NULL)); | ^~~~~~~~~~~~ -
src/utils/lib/CryptoPP_stubs.c:90:36: warning: assigning to 'value *' (aka 'long *') from 'const value *' (aka 'const long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 90 | if (caml_func == NULL) caml_func = caml_named_value("ml_lprintf_nl"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/local/include/gd.h:1095:82: warning: "callback" is deprecated: use "caml_callback" instead [-W#pragma-messages] 1095 | BGD_DECLARE(int) gdImageColorReplaceCallback(gdImagePtr im, gdCallbackImageColor callback); | ^ -
src/utils/cdk/gdstubs.c:102:10: warning: cast to smaller integer type 'int' from 'gdFontPtr' (aka 'gdFont *') [-Wpointer-to-int-cast] 102 | return (int)FONT_VAL(v1) - (int)FONT_VAL(v2); | ^~~~~~~~~~~~~~~~~ -
src/utils/cdk/gdstubs.c:102:30: warning: cast to smaller integer type 'int' from 'gdFontPtr' (aka 'gdFont *') [-Wpointer-to-int-cast] 102 | return (int)FONT_VAL(v1) - (int)FONT_VAL(v2); | ^~~~~~~~~~~~~~~~~ -
src/utils/cdk/gdstubs.c:113:7: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 113 | v = alloc_custom(&font_t_custom_operations, sizeof(GdFWrapper), 1, 10); | ^ -
src/utils/cdk/gdstubs.c:136:5: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 136 | raise_constant(*(value *)caml_named_value("gdopen failed")); | ^ -
src/utils/cdk/gdstubs.c:138:7: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 138 | v = alloc_custom(&image_t_custom_operations, sizeof(GdWrapper), | ^ -
src/utils/cdk/gdstubs.c:154:5: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] 154 | raise_not_found(); | ^ -
src/utils/cdk/gdstubs.c:161:5: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 161 | raise_constant(*(value *)caml_named_value("gdopen failed")); | ^ -
src/utils/cdk/gdstubs.c:163:8: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 163 | v = alloc_custom(&image_t_custom_operations, sizeof(GdWrapper), | ^ -
src/utils/cdk/gdstubs.c:183:5: warning: "raise_not_found" is deprecated: use "caml_raise_not_found" instead [-W#pragma-messages] 183 | raise_not_found(); | ^ -
src/utils/cdk/gdstubs.c:190:5: warning: "raise_constant" is deprecated: use "caml_raise_constant" instead [-W#pragma-messages] 190 | raise_constant(*(value *)caml_named_value("gdopen failed")); | ^ -
src/utils/cdk/gdstubs.c:192:8: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead [-W#pragma-messages] 192 | v = alloc_custom(&image_t_custom_operations, sizeof(GdWrapper), | ^ -
src/utils/cdk/gdstubs.c:321:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | String_val(s), Int_val(color)); | ^~~~~~~~~~~~~ -
src/utils/cdk/gdstubs.c:333:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | String_val(s), Int_val(color)); | ^~~~~~~~~~~~~ -
src/utils/cdk/gdstubs.c:387:6: warning: "really_putblock" is deprecated: use "caml_really_putblock" instead [-W#pragma-messages] 387 | void really_putblock (struct channel *, char *, long); | ^ -
src/utils/cdk/gdstubs.c:398:3: warning: "really_putblock" is deprecated: use "caml_really_putblock" instead [-W#pragma-messages] 398 | really_putblock(Channel(chan), dat, size); | ^ -
src/utils/cdk/gdstubs.c:413:3: warning: "really_putblock" is deprecated: use "caml_really_putblock" instead [-W#pragma-messages] 413 | really_putblock(Channel(chan), dat, size); | ^ -
src/utils/cdk/gdstubs.c:493:7: warning: "copy_int32" is deprecated: use "caml_copy_int32" instead [-W#pragma-messages] 493 | v = copy_int32 ((int32_t)png_access_version_number()); | ^