mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-09-19 23:56:10 +00:00
dc7ad6c1b7
* Fix syntax to prevent compilation issue Fix build failure with AppleClang 7 & 8. Error was: src/core/CustomData.cpp:30:41: error: default initialization of an object of const type 'const CustomData::CustomDataItem' without a user-provided default constructor static const CustomData::CustomDataItem NULL_ITEM; ^ {} src/core/Metadata.cpp:32:39: error: default initialization of an object of const type 'const Metadata::CustomIconData' without a user-provided default constructor static const Metadata::CustomIconData NULL_ICON; ^ src/core/Metadata.cpp:32:48: note: add an explicit initializer to initialize 'NULL_ICON' static const Metadata::CustomIconData NULL_ICON; ^ {} * Add missing QUuid header Fixes this compilation issue with LLVM clang 9, possibly also due to an old QT5 tests/TestTools.cpp:96:39: error: incomplete type 'QUuid' named in nested name specifier auto validUuid = Tools::uuidToHex(QUuid::createUuid()); ^~~~~~~ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:1887:1: note: forward declaration of 'QUuid' QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:108:18: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS' F(QUuid, 30, QUuid) \ ^ tests/TestTools.cpp:101:40: error: incomplete type 'QUuid' named in nested name specifier auto nonHexUuid = Tools::uuidToHex(QUuid::createUuid()).replace(0, 1, 'p'); ^~~~~~~ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:1887:1: note: forward declaration of 'QUuid' QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER) ^ /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qmetatype.h:108:18: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS' F(QUuid, 30, QUuid) \ ^ |
||
---|---|---|
.. | ||
data | ||
gui | ||
mock | ||
util | ||
CMakeLists.txt | ||
config-keepassx-tests.h.cmake | ||
FailDevice.cpp | ||
FailDevice.h | ||
modeltest.cpp | ||
modeltest.h | ||
TestAutoType.cpp | ||
TestAutoType.h | ||
TestBase32.cpp | ||
TestBase32.h | ||
TestBrowser.cpp | ||
TestBrowser.h | ||
TestCli.cpp | ||
TestCli.h | ||
TestConfig.cpp | ||
TestConfig.h | ||
TestCryptoHash.cpp | ||
TestCryptoHash.h | ||
TestCsvExporter.cpp | ||
TestCsvExporter.h | ||
TestCsvParser.cpp | ||
TestCsvParser.h | ||
TestDatabase.cpp | ||
TestDatabase.h | ||
TestDeletedObjects.cpp | ||
TestDeletedObjects.h | ||
TestEntry.cpp | ||
TestEntry.h | ||
TestEntryModel.cpp | ||
TestEntryModel.h | ||
TestEntrySearcher.cpp | ||
TestEntrySearcher.h | ||
TestFdoSecrets.cpp | ||
TestFdoSecrets.h | ||
TestGroup.cpp | ||
TestGroup.h | ||
TestGroupModel.cpp | ||
TestGroupModel.h | ||
TestHashedBlockStream.cpp | ||
TestHashedBlockStream.h | ||
TestHibp.cpp | ||
TestHibp.h | ||
TestIconDownloader.cpp | ||
TestIconDownloader.h | ||
TestKdbx2.cpp | ||
TestKdbx2.h | ||
TestKdbx3.cpp | ||
TestKdbx3.h | ||
TestKdbx4.cpp | ||
TestKdbx4.h | ||
TestKeePass1Reader.cpp | ||
TestKeePass1Reader.h | ||
TestKeePass2Format.cpp | ||
TestKeePass2Format.h | ||
TestKeePass2RandomStream.cpp | ||
TestKeePass2RandomStream.h | ||
TestKeys.cpp | ||
TestKeys.h | ||
TestMerge.cpp | ||
TestMerge.h | ||
TestModified.cpp | ||
TestModified.h | ||
TestOpenSSHKey.cpp | ||
TestOpenSSHKey.h | ||
TestOpVaultReader.cpp | ||
TestOpVaultReader.h | ||
TestPassphraseGenerator.cpp | ||
TestPassphraseGenerator.h | ||
TestPasswordGenerator.cpp | ||
TestPasswordGenerator.h | ||
TestPasswordHealth.cpp | ||
TestPasswordHealth.h | ||
TestRandomGenerator.cpp | ||
TestRandomGenerator.h | ||
TestSharing.cpp | ||
TestSharing.h | ||
TestSignature.cpp | ||
TestSignature.h | ||
TestSSHAgent.cpp | ||
TestSSHAgent.h | ||
TestSymmetricCipher.cpp | ||
TestSymmetricCipher.h | ||
TestTools.cpp | ||
TestTools.h | ||
TestTotp.cpp | ||
TestTotp.h | ||
TestUpdateCheck.cpp | ||
TestUpdateCheck.h | ||
TestYkChallengeResponseKey.cpp | ||
TestYkChallengeResponseKey.h |