Snippets for megacmd 2.7.1 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/7php4xq0gpblls7aqqi7zxlgs6y9ff7v-megacmd-2.7.1.drv.
-
/nix/var/nix/builds/nix-72460-2444094946/source/sdk/src/megaapi_impl.cpp:30931:20: warning: lambda capture 'code' is not used [-Wunused-lambda-capture]
-
/nix/var/nix/builds/nix-72460-2444094946/source/sdk/src/hashcash.cpp:33:23: warning: unused variable 'kSha256Block' [-Wunused-const-variable] 33 | constexpr std::size_t kSha256Block = CryptoPP::SHA256::BLOCKSIZE; | ^~~~~~~~~~~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/sdk/src/sync.cpp:4879:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 4879 | synchronous.get_future().get(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdshell/megacmdshellcommunications.h:72:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] 72 | #define MSG_NOSIGNAL 0 | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/client/../megacmdshell/megacmdshellcommunications.h:72:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] 72 | #define MSG_NOSIGNAL 0 | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:278:18: warning: 'onRequestFinish' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 278 | virtual void onRequestFinish(mega::MegaApi* api, mega::MegaRequest *request, mega::MegaError* e); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:284:18: warning: 'onBackupStateChanged' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 284 | virtual void onBackupStateChanged(mega::MegaApi *api, mega::MegaScheduledCopy *backup); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:285:18: warning: 'onBackupStart' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 285 | virtual void onBackupStart(mega::MegaApi *api, mega::MegaScheduledCopy *backup); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:286:18: warning: 'onBackupFinish' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 286 | virtual void onBackupFinish(mega::MegaApi* api, mega::MegaScheduledCopy *backup, mega::MegaError* error); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:287:18: warning: 'onBackupUpdate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 287 | virtual void onBackupUpdate(mega::MegaApi *api, mega::MegaScheduledCopy *backup); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:288:18: warning: 'onBackupTemporaryError' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 288 | virtual void onBackupTemporaryError(mega::MegaApi *api, mega::MegaScheduledCopy *backup, mega::MegaError* error); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:346:10: warning: 'onTransferFinish' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 346 | void onTransferFinish(mega::MegaApi* api, mega::MegaTransfer *transfer, mega::MegaError* error); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:347:10: warning: 'onTransferUpdate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 347 | void onTransferUpdate(mega::MegaApi* api, mega::MegaTransfer *transfer); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:348:10: warning: 'onTransferTemporaryError' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 348 | void onTransferTemporaryError(mega::MegaApi *api, mega::MegaTransfer *transfer, mega::MegaError* e); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/listeners.h:349:10: warning: 'onTransferData' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 349 | bool onTransferData(mega::MegaApi *api, mega::MegaTransfer *transfer, char *buffer, size_t size); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/comunicationsmanagerfilesockets.h:70:10: warning: 'receivedPetition' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 70 | bool receivedPetition(); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/comunicationsmanagerfilesockets.h:74:18: warning: 'stopWaiting' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 74 | virtual void stopWaiting(); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/comunicationsmanagerfilesockets.h:100:17: warning: 'getConfirmation' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 100 | virtual int getConfirmation(CmdPetition *inf, std::string message); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/comunicationsmanagerfilesockets.h:102:25: warning: 'getUserResponse' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 102 | virtual std::string getUserResponse(CmdPetition *inf, std::string message); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:2337:71: warning: 'getSubscriptionMethod' is deprecated [-Wdeprecated-declarations] 2337 | std::unique_ptr<char[]> subscriptionMethod(extAccountDetails->getSubscriptionMethod()); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:2346:13: 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] 2346 | sprintf(sbalance, " Balance: %.3s %.02f", currency.get(), balance->getAmount()); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:2362:17: 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] 2362 | sprintf(spurchase, "ID: %.11s Time: %s Amount: %.3s %.02f Payment method: %d\n", handle.get(), timebuf, currency.get(), | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:2378:17: 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] 2378 | sprintf(stransaction, "ID: %.11s Time: %s Amount: %.3s %.02f\n", transaction->getHandle(), timebuf, currency.get(), transaction->getAmount()); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:2406:17: 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] 2406 | sprintf(sdetails, "%s Session ID: %s\n Session start: %s\n Most recent activity: %s\n IP: %s\n Country: %.2s\n User-Agent: %s\n -----\n", | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:3409:10: warning: 'startUpload' is deprecated [-Wdeprecated-declarations] 3409 | api->startUpload( | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:4211:10: warning: 'confirmAccount' is deprecated [-Wdeprecated-declarations] 4211 | api->confirmAccount(link.c_str(), passwd.c_str(), megaCmdListener2); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd.cpp:3728:14: 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] 3728 | sprintf(url, "pro/uao=%s",userAgent); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:5654:37: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 5654 | if (!n->getType() == MegaNode::TYPE_FILE) | ^ ~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:5672:38: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 5672 | if ((!n->getType() == MegaNode::TYPE_FILE ) && ((it + 1) != pathsToList->end())) | ^ ~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd.cpp:5898: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] 5898 | sprintf(userAgent, "MEGAcmd" MEGACMD_STRINGIZE(MEGACMD_USERAGENT_SUFFIX) "/%d.%d.%d.%d", MEGACMD_MAJOR_VERSION,MEGACMD_MINOR_VERSION,MEGACMD_MICRO_VERSION,MEGACMD_BUILD_ID); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd.cpp:6094:10: warning: 'getLastAvailableVersion' is deprecated [-Wdeprecated-declarations] 6094 | api->getLastAvailableVersion("BdARkQSQ", megaCmdListener.get()); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:9905:35: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 9905 | if (dstFolder && (!dstFolder->getType() == MegaNode::TYPE_FILE)) | ^ ~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdexecuter.cpp:10194:14: warning: 'getLastAvailableVersion' is deprecated [-Wdeprecated-declarations]
-
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdutils.cpp:609:16: warning: address of stack memory associated with parameter 'formatName' returned [-Wreturn-stack-address] 609 | return formatName.c_str(); | ^~~~~~~~~~ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmdutils.cpp:636:9: 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] 636 | sprintf(buffer,"INVALID_TIME %lld", (long long)rawtime); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/comunicationsmanagerfilesockets.cpp:28:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] 28 | #define MSG_NOSIGNAL 0 | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/configurationmanager.cpp:294:18: warning: 'copySyncDataToCache' is deprecated [-Wdeprecated-declarations] 294 | api->copySyncDataToCache(thesync->localpath.c_str(), thesync->handle, nullptr, | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/configurationmanager.cpp:503:9: warning: 'setLegacyExcludedNames' is deprecated [-Wdeprecated-declarations] 503 | api.setLegacyExcludedNames(&excludePatterns); | ^ -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd_rotating_logger.cpp:30:31: warning: identifier '_KB' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 30 | constexpr uint64_t operator"" _KB(unsigned long long kilobytes) | ~~~~~~~~~~~^~~ | operator""_KB -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd_rotating_logger.cpp:34:31: warning: identifier '_MB' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 34 | constexpr uint64_t operator"" _MB(unsigned long long megabytes) | ~~~~~~~~~~~^~~ | operator""_MB -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd_rotating_logger.cpp:38:31: warning: identifier '_GB' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 38 | constexpr uint64_t operator"" _GB(unsigned long long gigabytes) | ~~~~~~~~~~~^~~ | operator""_GB -
/nix/var/nix/builds/nix-72460-2444094946/source/src/megacmd_rotating_logger.cpp:42:31: warning: identifier '_TB' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 42 | constexpr uint64_t operator"" _TB(unsigned long long terabytes) | ~~~~~~~~~~~^~~ | operator""_TB