Snippets for p7zip 17.06 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/n5wsm74jk0j91jgw5cl264x5bc27ryrw-p7zip-17.06.drv.
-
../../../../CPP/7zip/Archive/7z/7zHandlerOut.cpp:154:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 154 | else | ^ -
../../../../CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:843:13: warning: enumeration value 'kAbsPaths' not handled in switch [-Wswitch] 843 | switch (_pathMode) | ^~~~~~~~~ -
../../../../CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:1082:15: warning: enumeration values 'kOverwrite', 'kRename', and 'kRenameExisting' not handled in switch [-Wswitch] 1082 | switch (_overwriteMode) | ^~~~~~~~~~~~~~ -
../../../../CPP/Common/Wildcard.cpp:583:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 583 | else | ^ -
../../../../CPP/Windows/PropVariant.cpp:281:10: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'NWindows::NCOM::CPropVariant' [-Wnontrivial-memcall] 281 | memcpy(this, pSrc, sizeof(PROPVARIANT)); | ^ -
../../../../CPP/7zip/UI/Common/ArchiveCommandLine.cpp:286:11: warning: 8 enumeration values not handled in switch: 'kAdd', 'kUpdate', 'kDelete'... [-Wswitch] 286 | switch (CommandType) | ^~~~~~~~~~~ -
../../../../CPP/7zip/UI/Common/ArchiveCommandLine.cpp:298:11: warning: 9 enumeration values not handled in switch: 'kAdd', 'kUpdate', 'kDelete'... [-Wswitch] 298 | switch (CommandType) | ^~~~~~~~~~~ -
../../../../CPP/7zip/UI/Common/ArchiveCommandLine.cpp:309:11: warning: 7 enumeration values not handled in switch: 'kTest', 'kExtract', 'kExtractFull'... [-Wswitch] 309 | switch (CommandType) | ^~~~~~~~~~~ -
../../../../CPP/7zip/UI/Common/ArchiveCommandLine.cpp:365:11: warning: enumeration value 'kNonRecursed' not handled in switch [-Wswitch] 365 | switch (type) | ^~~~ -
../../../../CPP/7zip/UI/Common/OpenArchive.cpp:1666:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1666 | else | ^ -
../../../../CPP/7zip/UI/Common/OpenArchive.cpp:2797:15: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2797 | else | ^ -
../../../../CPP/7zip/UI/Console/Main.cpp:1009:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1009 | else if (hresultMain == S_OK) | ^ -
../../../../CPP/7zip/UI/Console/Main.cpp:1031:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1031 | else | ^ -
../../../../CPP/Common/NewHandler.cpp:27:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] 27 | void operator delete(void *pnt) | ^ -
../../../../CPP/Common/NewHandler.cpp:33:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch] 33 | void operator delete[](void *pnt) | ^ -
../../../../CPP/7zip/Archive/ArHandler.cpp:623:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 623 | else | ^ -
../../../../CPP/7zip/Archive/ArjHandler.cpp:670:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch] 670 | switch (_arc.Error) | ^~~~~~~~~~ -
../../../../CPP/7zip/Archive/Chm/ChmHandler.cpp:150:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 150 | else if (item.Section < m_Database.Sections.Size()) | ^ -
../../../../CPP/7zip/Archive/Tar/TarHandler.cpp:66:20: warning: enumeration values 'k_ErrorType_OK' and 'k_ErrorType_Warning' not handled in switch [-Wswitch] 66 | else switch (_error) | ^~~~~~ -
../../../../CPP/7zip/Archive/CpioHandler.cpp:461:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch] 461 | switch (_error) | ^~~~~~ -
../../../../CPP/7zip/Archive/Zip/ZipIn.cpp:1012:37: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1012 | if (size < 8) isOK = false; else { size -= 8; unpackSize = ReadUInt64(); } | ^ -
../../../../CPP/7zip/Archive/Zip/ZipIn.cpp:1015:37: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1015 | if (size < 8) isOK = false; else { size -= 8; packSize = ReadUInt64(); } | ^ -
../../../../CPP/7zip/Archive/Zip/ZipIn.cpp:1018:37: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1018 | if (size < 8) isOK = false; else { size -= 8; localOffset = ReadUInt64(); } | ^ -
../../../../CPP/7zip/Archive/Zip/ZipIn.cpp:1021:37: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1021 | if (size < 4) isOK = false; else { size -= 4; disk = ReadUInt32(); } | ^ -
../../../../CPP/7zip/Archive/PeHandler.cpp:1918:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1918 | else | ^ -
../../../../CPP/Windows/DLL.cpp:38:13: warning: 'NSUnLinkModule' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations] 38 | int ret = NSUnLinkModule ((NSModule)_module, 0); | ^ -
../../../../CPP/Windows/DLL.cpp:61:11: warning: 'NSLookupSymbolInModule' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] 61 | sym = NSLookupSymbolInModule((NSModule)module, name); | ^ -
../../../../CPP/Windows/DLL.cpp:63:13: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] 63 | ptr = NSAddressOfSymbol(sym); | ^ -
../../../../CPP/Windows/DLL.cpp:110:11: warning: 'NSCreateObjectFileImageFromFile' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] 110 | nsret = NSCreateObjectFileImageFromFile (name, &image); | ^ -
../../../../CPP/Windows/DLL.cpp:113:25: warning: 'NSLinkModule' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] 113 | handler = (HMODULE)NSLinkModule(image,name,NSLINKMODULE_OPTION_RETURN_ON_ERROR | ^ -
../../../../CPP/Windows/DLL.cpp:168:5: warning: 'NSLinkEditError' is deprecated: first deprecated in macOS 10.5 - dlerror() [-Wdeprecated-declarations] 168 | NSLinkEditError(&c,&num_err,&file,&err); | ^