Snippets for apache-thrift 0.22.0 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/2pskp5nsn56hkbba9nd9rpwch9y2hczg-thrift-0.22.0.drv.
-
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/protocol/TDebugProtocol.cpp:32:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 32 | int ret = std::sprintf(buf, "%02x", (int)byte); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSocket.cpp:456:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 456 | sprintf(port, "%d", port_); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSocket.cpp:765:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 765 | sprintf(errBuf, "TSocket::setGenericTimeout with negative input: %d\n", timeout_ms); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/THttpServer.cpp:162:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 162 | sprintf(buff, | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TFileTransport.cpp:783:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 783 | sprintf(errorMsg, | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSSLSocket.cpp:187:24: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] 187 | ctx_ = SSL_CTX_new(TLSv1_method()); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSSLSocket.cpp:189:24: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations] 189 | ctx_ = SSL_CTX_new(TLSv1_1_method()); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSSLSocket.cpp:191:24: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] 191 | ctx_ = SSL_CTX_new(TLSv1_2_method()); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TSSLSocket.cpp:760:27: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] 760 | char* data = (char*)ASN1_STRING_data(name->d.ia5); | ^ -
src/ext/endian.h:87:9: warning: 'ntohll' macro redefined [-Wmacro-redefined] 87 | #define ntohll(n) ((((unsigned long long)ntohl(n)) << 32) + ntohl(n >> 32)) | ^ -
src/ext/endian.h:88:9: warning: 'htonll' macro redefined [-Wmacro-redefined] 88 | #define htonll(n) ((((unsigned long long)htonl(n)) << 32) + htonl(n >> 32)) | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/build/lib/cpp/test/gen-cpp/ParentService.h:833:16: warning: 'dispatchCallTemplated' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 833 | virtual bool dispatchCallTemplated(Protocol_* iprot, Protocol_* oprot, const std::string& fname, int32_t seqid, void* callContext); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/build/lib/cpp/test/gen-cpp/ChildService.h:290:16: warning: 'dispatchCallTemplated' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 290 | virtual bool dispatchCallTemplated(Protocol_* iprot, Protocol_* oprot, const std::string& fname, int32_t seqid, void* callContext); | ^ -
/nix/var/nix/builds/nix-31125-2733662253/source/lib/cpp/src/thrift/transport/TWebSocketServer.h:365:50: warning: shift count >= width of type [-Wshift-count-overflow] 365 | *reinterpret_cast<uint64_t*>(header + 2) = THRIFT_htonll(length); | ^~~~~~~~~~~~~~~~~~~~~