Snippets for mldonkey 3.2.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/q0a2phr6hzviqlcij2kimq8vp7lxnb93-mldonkey-3.2.1.drv.
-
wget.c:114:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 114 | close(f); | ^~~~~ | pclose -
wget.c:130:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 130 | write(fd, buf, strlen(buf)); | ^~~~~ | fwrite -
wget.c:132:20: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 132 | while((nread = read(fd, buf, 1)) > 0){ | ^~~~ | fread -
wget.c:128:24: warning: '%s' directive writing up to 4095 bytes into a region of size 1996 [-Wformat-overflow=] 128 | sprintf( buf, "GET %s HTTP/1.0\r\nHost: %s\r\n\r\n", pathname, host ); | ^~ ~~~~~~~~ -
src/config/unix/os_stubs_c.c:86:39: warning: format '%Ld' expects argument of type 'long long int', but argument 4 has type 'OFF_T' {aka 'long int'} [-Wformat=] 86 | fprintf(stderr, "ftruncate(%d,%Ld)\n", fd, len); | ~~^ ~~~ | | | | | OFF_T {aka long int} | long long int | %ld -
src/config/unix/os_stubs_c.c:83:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | write(fd, &zero, 1); | ^~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'fst_hash_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'fst_hash_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'fst_hash_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'fst_hash_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'fst_hash_checksum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/md4.c:76:6: warning: old-style function definition [-Wold-style-definition] 76 | void MD4Init (context) | ^~~~~~~ -
src/utils/lib/md4.c:93:6: warning: old-style function definition [-Wold-style-definition] 93 | void MD4Update (context, input, inputLen) | ^~~~~~~~~ -
src/utils/lib/md4.c:131:6: warning: old-style function definition [-Wold-style-definition] 131 | void MD4Final (digest, context) | ^~~~~~~~ -
src/utils/lib/md4.c:160:13: warning: old-style function definition [-Wold-style-definition] 160 | static void MD4Transform (state, block) | ^~~~~~~~~~~~ -
src/utils/lib/md4.c:235:13: warning: old-style function definition [-Wold-style-definition] 235 | static void Encode (output, input, len) | ^~~~~~ -
src/utils/lib/md4.c:254:13: warning: old-style function definition [-Wold-style-definition] 254 | static void Decode (output, input, len) | ^~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ -
src/utils/lib/charsetstubs.c:171:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | closure_f = caml_named_value("charset_error"); | ^ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'os_getfilesize' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/stubs_c.c:854:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 854 | nice(19); | ^~~~~~~~ -
src/daemon/common/commonHasher_c.c:318:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 318 | nice(19); | ^~~~~~~~ -
src/utils/lib/CryptoPP.h:3936:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3936 | BufferedTransformation::Get; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3937:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3937 | BufferedTransformation::Peek; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3938:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3938 | BufferedTransformation::TransferTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3939:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3939 | BufferedTransformation::CopyTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3940:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3940 | BufferedTransformation::CopyRangeTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3941:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3941 | BufferedTransformation::TransferMessagesTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3942:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3942 | BufferedTransformation::CopyMessagesTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3943:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3943 | BufferedTransformation::TransferAllTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:3944:9: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 3944 | BufferedTransformation::CopyAllTo; | ^~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.h:4349:45: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 4349 | if (!std::uncaught_exception()) | ~~~~~~~~~~~~~~~~~~~~~~~^~ -
src/utils/lib/CryptoPP.h:4355:33: warning: 'throw' will always call 'terminate' [-Wterminate] 4355 | throw ParameterNotUsed(m_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP.cc:698:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 698 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:704:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 704 | std::auto_ptr<PK_MessageAccumulator> m(NewSignatureAccumulator(rng)); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:712:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 712 | std::auto_ptr<PK_MessageAccumulator> m(NewSignatureAccumulator(rng)); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:720:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 720 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:726:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 726 | std::auto_ptr<PK_MessageAccumulator> m(NewVerificationAccumulator()); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:734:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 734 | std::auto_ptr<PK_MessageAccumulator> m(messageAccumulator); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:742:14: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 742 | std::auto_ptr<PK_MessageAccumulator> m(NewVerificationAccumulator()); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:1047:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1047 | std::auto_ptr<std::vector<word16> > pPrimeTable(new std::vector<word16>); | ^~~~~~~~ -
src/utils/lib/CryptoPP.cc:6788:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 6788 | std::auto_ptr<OutputProxy> temp(proxy = new OutputProxy(*this, false)); | ^~~~~~~~ -
/nix/store/4hg3lf2464vn5805ab5hrm0cz4zawyh0-ocaml-4.14.4/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ -
src/utils/lib/CryptoPP_stubs.c:90:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | if (caml_func == NULL) caml_func = caml_named_value("ml_lprintf_nl"); | ^