Snippets for veracrypt 1.26.31 from FreeBSD 151amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/veracrypt/1.26.31/151amd64-default.log.
-
PlatformTest.cpp:589:4: warning: expression result unused [-Wunused-value] 589 | 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:131:39: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 131 | if (skipLayoutV1Normal && typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
Volume.cpp:182:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 182 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal)) | ^ -
Volume.cpp:197:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 197 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x10b) | ^ -
VolumeHeader.cpp:215:27: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 215 | bool xtsMode = typeid (*mode) == typeid (EncryptionModeXTS); | ^ -
VolumeHeader.cpp:335:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 335 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^ -
VolumeHeader.cpp:393:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 393 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^ -
../Crypto/Sha2.c:388:13: warning: '__fastcall__' calling convention is not supported for this target [-Wignored-attributes] 388 | static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(uint_32t *state, const uint_32t *data, size_t len) | ^ -
TextUserInterface.cpp:444:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 444 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV1Normal)) | ^ -
TextUserInterface.cpp:447:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 447 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
TextUserInterface.cpp:447:88: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 447 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
TextUserInterface.cpp:1880:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1880 | if (typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
TextUserInterface.cpp:1960:37: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1960 | if (!legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV1Normal))) | ^ -
TextUserInterface.cpp:1963:36: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1963 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
TextUserInterface.cpp:1963:89: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1963 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
GraphicUserInterface.cpp:440:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 440 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV1Normal)) | ^ -
GraphicUserInterface.cpp:443:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 443 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
GraphicUserInterface.cpp:443:88: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 443 | if (typeid (*normalVolume->GetLayout()) == typeid (VolumeLayoutV2Normal) && typeid (*hiddenVolume->GetLayout()) != typeid (VolumeLayoutV2Hidden)) | ^ -
GraphicUserInterface.cpp:1899:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1899 | if (typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
GraphicUserInterface.cpp:1984:37: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1984 | if (!legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV1Normal))) | ^ -
GraphicUserInterface.cpp:1987:36: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1987 | if (legacyBackup && (typeid (*layout) == typeid (VolumeLayoutV2Normal) || typeid (*layout) == typeid (VolumeLayoutV2Hidden))) | ^ -
GraphicUserInterface.cpp:1987:89: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 1987 | 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:218:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 218 | wchar_t passwordBuf[VolumePassword::MaxSize + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~