Page MenuHome GnuPG

D577.diff
No OneTemporary

D577.diff

diff --git a/lang/cpp/src/gpgmepp_export.h b/lang/cpp/src/gpgmepp_export.h
--- a/lang/cpp/src/gpgmepp_export.h
+++ b/lang/cpp/src/gpgmepp_export.h
@@ -55,7 +55,7 @@
#endif
#ifndef GPGMEPP_DEPRECATED
-# define GPGMEPP_DEPRECATED __attribute__ ((__deprecated__))
+# define GPGMEPP_DEPRECATED [[deprecated]]
#endif
#ifndef GPGMEPP_DEPRECATED_EXPORT
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h
--- a/lang/cpp/src/key.h
+++ b/lang/cpp/src/key.h
@@ -468,7 +468,7 @@
class GPGMEPP_EXPORT UserID::Signature
{
public:
- typedef GPGMEPP_DEPRECATED GpgME::Notation Notation;
+ GPGMEPP_DEPRECATED typedef GpgME::Notation Notation;
Signature();
Signature(const shared_gpgme_key_t &key, gpgme_user_id_t uid, gpgme_key_sig_t sig);
diff --git a/lang/cpp/src/verificationresult.h b/lang/cpp/src/verificationresult.h
--- a/lang/cpp/src/verificationresult.h
+++ b/lang/cpp/src/verificationresult.h
@@ -87,7 +87,7 @@
friend class ::GpgME::VerificationResult;
Signature(const std::shared_ptr<VerificationResult::Private> &parent, unsigned int index);
public:
- typedef GPGMEPP_DEPRECATED GpgME::Notation Notation;
+ GPGMEPP_DEPRECATED typedef GpgME::Notation Notation;
Signature();
diff --git a/lang/qt/src/downloadjob.h b/lang/qt/src/downloadjob.h
--- a/lang/qt/src/downloadjob.h
+++ b/lang/qt/src/downloadjob.h
@@ -93,7 +93,7 @@
only empty strings or anything other than fingerprints, the
result is undefined.
*/
- virtual QGPGME_DEPRECATED_EXPORT GpgME::Error start(const QStringList &fingerprints) = 0;
+ QGPGME_DEPRECATED_EXPORT virtual GpgME::Error start(const QStringList &fingerprints) = 0;
Q_SIGNALS:
void result(const GpgME::Error &result, const QByteArray &keyData, const QString &auditLogAsHtml = QString(), const GpgME::Error &auditLogError = GpgME::Error());
diff --git a/lang/qt/src/qgpgme_export.h b/lang/qt/src/qgpgme_export.h
--- a/lang/qt/src/qgpgme_export.h
+++ b/lang/qt/src/qgpgme_export.h
@@ -65,7 +65,7 @@
#endif
#ifndef QGPGME_DEPRECATED
-# define QGPGME_DEPRECATED __attribute__ ((__deprecated__))
+# define QGPGME_DEPRECATED [[deprecated]]
#endif
#ifndef QGPGME_DEPRECATED_EXPORT

File Metadata

Mime Type
text/plain
Expires
Fri, May 9, 8:37 AM (16 h, 21 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
21/54/314be7e86526cc891b70afbc1bd3

Event Timeline