Snippets for gnunet 0.26.2 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/wgdkpr459cw1mzcs29h32qbdvrnhl402-gnunet-0.26.2.drv.
-
../src/lib/util/crypto_paillier.c:121:1: warning: unused function 'GNUNET_CRYPTO_paillier_encrypt1' [-Wunused-function] 121 | GNUNET_CRYPTO_paillier_encrypt1 (const struct | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/service/cadet/cadet_api_drop_message.c:36:1: warning: unused function 'GNUNET_CADET_drop_message' [-Wunused-function] 36 | GNUNET_CADET_drop_message (struct GNUNET_MQ_Handle *mq, | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/service/regex/regex.c:236:17: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant] 236 | char dots[5 * strlen (DOT)]; | ~~~~^~~~~~~~~~~~ -
../src/service/core/gnunet_core_underlay_dummy.c:1423:67: warning: format string contains '\0' within the string body [-Wformat] 1423 | SOCK_NAME_BASE "%" PRIu64 "" SOCK_EXTENSION "\0", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -
../src/service/hostlist/gnunet-daemon-hostlist_client.c:1041:5: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1041 | CURL_EASY_SETOPT (curl, CURLOPT_PROXYTYPE, proxy_type); | ^ -
../src/service/hostlist/gnunet-daemon-hostlist_client.c:1061:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1061 | CURL_EASY_SETOPT (curl, CURLOPT_FOLLOWLOCATION, 1); | ^ -
../src/service/hostlist/gnunet-daemon-hostlist_client.c:1100:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1100 | CURL_EASY_SETOPT (curl, CURLOPT_MAXREDIRS, 4); | ^ -
../src/service/hostlist/gnunet-daemon-hostlist_client.c:1108:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1108 | CURL_EASY_SETOPT (curl, CURLOPT_FAILONERROR, 1); | ^ -
../src/service/hostlist/gnunet-daemon-hostlist_client.c:1112:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1112 | CURL_EASY_SETOPT (curl, CURLOPT_BUFFERSIZE, GNUNET_MAX_MESSAGE_SIZE); | ^ -
../src/service/dht/gnunet-service-dht_neighbours.c:836:38: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion] 836 | if (random_value < (target_value * UINT32_MAX)) | ~ ^~~~~~~~~~ -
../src/service/cadet/gnunet-service-cadet_paths.c:282:1: warning: unused function 'GCPP_update_score' [-Wunused-function] 282 | GCPP_update_score (struct CadetPeerPath *path, | ^~~~~~~~~~~~~~~~~ -
../src/service/gns/gnunet-gns-proxy.c:1928:5: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1928 | curl_easy_setopt (s5r->curl, | ^ -
../src/service/gns/gnunet-gns-proxy.c:1944:5: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1944 | curl_easy_setopt (s5r->curl, | ^ -
../src/service/gns/gnunet-gns-proxy.c:1345:17: warning: call to 'Wcurl_easy_getinfo_err_curl_off_t' declared with 'warning' attribute: curl_easy_getinfo expects a pointer to curl_off_t [-Wattribute-warning] 1345 | curl_easy_getinfo (s5r->curl, | ^ -
../src/contrib/service/rps/gnunet-rps.c:210:39: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat] 210 | (0 == sscanf (args[0], "%lu", &num_peers)) ) | ~~~ ^~~~~~~~~~ | %llu -
../src/contrib/service/rps/gnunet-rps.c:224:39: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat] 224 | (0 == sscanf (args[0], "%lu", &num_view_updates)) ) | ~~~ ^~~~~~~~~~~~~~~~~ | %llu