Snippets for mldonkey 3.2.1 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/41vb7y5b0wqdpgr9ms4zpv2hkg26z2a6-mldonkey-3.2.1.drv.
-
src/utils/cdk/zlibstubs.c:195:7: warning: "copy_string" is deprecated: use "caml_copy_string" instead [-W#pragma-messages] 195 | v = copy_string (zlibVersion()); | ^ -
src/utils/cdk/bzip2stubs.c:105:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 105 | failwith("Bzip2 compression not supported."); | ^ -
src/utils/cdk/bzip2stubs.c:135:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 135 | failwith("Bzip2 compression not supported"); | ^ -
src/utils/cdk/bzip2stubs.c:152:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 152 | failwith("Bzip2 compression not supported"); | ^ -
src/utils/cdk/bzip2stubs.c:166:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 166 | failwith("Bzip2 compression not supported"); | ^ -
src/utils/cdk/bzip2stubs.c:196:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 196 | failwith("Bzip2 compression not supported"); | ^ -
src/utils/cdk/bzip2stubs.c:213:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 213 | failwith("Bzip2 compression not supported"); | ^ -
src/utils/cdk/bzip2stubs.c:226:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 226 | failwith("bzlibVersion not found"); | ^ -
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:38: warning: length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat] 86 | fprintf(stderr, "ftruncate(%d,%Ld)\n", fd, len); | ~^~ -
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:327:20: warning: passing 'const 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] 327 | if(fst_hash_file(String_val(digest), String_val(filename), | ^~~~~~~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:327:40: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 327 | if(fst_hash_file(String_val(digest), String_val(filename), | ^~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:329:3: warning: "failwith" is deprecated: use "caml_failwith" instead [-W#pragma-messages] 329 | failwith("Exception during FST computation"); | ^ -
src/utils/lib/fst_hash.c:334:19: warning: passing 'const 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] 334 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:334:39: warning: passing 'const 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] 334 | fst_hash_string(String_val(digest), String_val(s), Int_val(size)); | ^~~~~~~~~~~~~ -
src/utils/lib/fst_hash.c:340:36: warning: passing 'const 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] 340 | 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.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.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.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: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: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.c:32:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 32 | char *m1 = String_val(m1_v); | ^ ~~~~~~~~~~~~~~~~ -
src/utils/lib/md4_c.c:33:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 33 | char *m2 = String_val(m2_v); | ^ ~~~~~~~~~~~~~~~~ -
src/utils/lib/md4_c.c:34:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 34 | char *m3 = String_val(m3_v); | ^ ~~~~~~~~~~~~~~~~ -
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: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:1340:11: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1340 | memcpy (String_val(v), str, 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 'const 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 'const 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 'const 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 'const 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:375:36: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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:423:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 423 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:424:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 424 | char *sub = String_val(sub_v); | ^ ~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:443:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 443 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
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 'const 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: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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 'const 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: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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 'const 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 '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:1: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 585 | ML_HASH(md4,MD4_CTX,MD4Init,MD4Update,md4_finish) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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 'const 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: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:1104:7: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1104 | v = copy_int64 (buf->f_type); 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:1125:10: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead [-W#pragma-messages] 1125 | v = copy_int64 (NAME_MAX); 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/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 '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: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:295:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 295 | char *result = String_val(result_v); | ^ ~~~~~~~~~~~~~~~~~~~~ -
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/fasttrack/fst_crypt_ml.c:50:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 50 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
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/networks/fasttrack/fst_crypt_ml.c:86:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 86 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
src/networks/fasttrack/fst_crypt_ml.c:140:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 140 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
src/networks/fasttrack/fst_crypt_ml.c:161:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 161 | char *s = String_val(s_v); | ^ ~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3936:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3936 | BufferedTransformation::Get; | ^ | using -
src/utils/lib/CryptoPP.h:3937:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3937 | BufferedTransformation::Peek; | ^ | using -
src/utils/lib/CryptoPP.h:3938:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3938 | BufferedTransformation::TransferTo; | ^ | using -
src/utils/lib/CryptoPP.h:3939:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3939 | BufferedTransformation::CopyTo; | ^ | using -
src/utils/lib/CryptoPP.h:3940:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3940 | BufferedTransformation::CopyRangeTo; | ^ | using -
src/utils/lib/CryptoPP.h:3941:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3941 | BufferedTransformation::TransferMessagesTo; | ^ | using -
src/utils/lib/CryptoPP.h:3942:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3942 | BufferedTransformation::CopyMessagesTo; | ^ | using -
src/utils/lib/CryptoPP.h:3943:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3943 | BufferedTransformation::TransferAllTo; | ^ | using -
src/utils/lib/CryptoPP.h:3944:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] 3944 | BufferedTransformation::CopyAllTo; | ^ | using -
src/utils/lib/CryptoPP.h:4285:74: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 4285 | R value = Hack_DefaultValueFromConstReferenceType(reinterpret_cast<R>(*(int *)NULL)); | ^~~~~~~~~~~~ -
src/utils/lib/CryptoPP_stubs.c:35:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 35 | char *s = String_val(privatekey); | ^ ~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP_stubs.c:41:11: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 41 | memmove(String_val(res), buf, len); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP_stubs.c:61:11: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 61 | memmove(String_val(res), buf, len); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
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"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~