Snippets for veracrypt 1.26.29 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/veracrypt/1.26.29/150amd64-default.log.
-
PlatformTest.cpp:283:4: warning: expression result unused [-Wunused-value] 283 | dynamic_cast <RttiTest &> (rttiBaseRef); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Pkcs5Kdf.cpp:70:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 70 | if (typeid (*kdf->GetHash()) == typeid (hash)) | ^ -
Volume.cpp:126:39: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 126 | if (skipLayoutV1Normal && typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
Volume.cpp:177:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 177 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal)) | ^ -
Volume.cpp:192:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 192 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x10b) | ^ -
VolumeHeader.cpp:213:27: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
-
VolumeHeader.cpp:333:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 333 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^ -
VolumeHeader.cpp:387:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 387 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^ -
../Crypto/Sha2.c:345:13: warning: '__fastcall__' calling convention is not supported for this target [-Wignored-attributes] 345 | static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(uint_32t *state, const uint_32t *data, size_t len) | ^ -
TextUserInterface.cpp:438:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 438 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV1Normal)) | ^ -
TextUserInterface.cpp:441:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 441 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
TextUserInterface.cpp:441:88: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 441 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
TextUserInterface.cpp:1733:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1733 | if (typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
TextUserInterface.cpp:1813:37: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1813 | if (!legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV1Normal))) | ^ -
TextUserInterface.cpp:1816:36: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1816 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
TextUserInterface.cpp:1816:89: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1816 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
GraphicUserInterface.cpp:417:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 417 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV1Normal)) | ^ -
GraphicUserInterface.cpp:420:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 420 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
GraphicUserInterface.cpp:420:88: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 420 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
GraphicUserInterface.cpp:1675:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1675 | if (typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
GraphicUserInterface.cpp:1760:37: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1760 | if (!legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV1Normal))) | ^ -
GraphicUserInterface.cpp:1763:36: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1763 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
GraphicUserInterface.cpp:1763:89: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1763 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
Forms/EncryptionOptionsWizardPage.cpp:93:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 93 | if (typeid (*ea) == typeid (AES)) | ^ -
Forms/EncryptionOptionsWizardPage.cpp:95:21: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 95 | else if (typeid (*ea) == typeid (Serpent)) | ^ -
Forms/EncryptionOptionsWizardPage.cpp:97:21: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 97 | else if (typeid (*ea) == typeid (Twofish)) | ^ -
Forms/EncryptionOptionsWizardPage.cpp:99:21: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 99 | else if (typeid (*ea) == typeid (Camellia)) | ^ -
Forms/EncryptionOptionsWizardPage.cpp:101:21: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 101 | else if (typeid (*ea) == typeid (Kuznyechik)) | ^ -
Forms/RandomPoolEnrichmentDialog.cpp:32:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 32 | if (typeid (*hash) == typeid (*RandomNumberGenerator::GetHash())) | ^ -
Forms/RandomPoolEnrichmentDialog.cpp:32:35: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 32 | if (typeid (*hash) == typeid (*RandomNumberGenerator::GetHash())) | ^ -
Forms/VolumePasswordPanel.cpp:215:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 215 | wchar_t passwordBuf[VolumePassword::MaxSize + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~