Page MenuHome GnuPG

qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='
Closed, DuplicatePublic

Description

When compiling gpgme with qt lang enabled under macOS, I'm getting:

./../.././../src/gpgme-1-c8b52ff707.clean/lang/qt/src/qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='
    d->m_trustSignature = {trust, depth, scope};
    ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
../../.././../src/gpgme-1-c8b52ff707.clean/lang/qt/src/qgpgmesignkeyjob.cpp:59:8: note: candidate function (the implicit copy assignment operator) not viable: cannot convert initializer list argument to 'const (anonymous namespace)::TrustSignatureProperties'
struct TrustSignatureProperties {
       ^
../../.././../src/gpgme-1-c8b52ff707.clean/lang/qt/src/qgpgmesignkeyjob.cpp:59:8: note: candidate function (the implicit move assignment operator) not viable: cannot convert initializer list argument to '(anonymous namespace)::TrustSignatureProperties'
struct TrustSignatureProperties {
       ^

Event Timeline

wrobelda created this object in space S1 Public.
wrobelda renamed this task from qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded to qgpgmesignkeyjob.cpp:224:25: error: no viable overloaded '='.Aug 22 2022, 12:22 PM