[Pkg-gnupg-commit] [gpgme] 17/53: cpp: Fix gcc diagnostic push / pop
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Oct 24 19:26:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit 39dd7585f5a7d801942efcb375d6dd46d01d2968
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Wed Oct 5 16:27:18 2016 +0200
cpp: Fix gcc diagnostic push / pop
* lang/cpp/src/context.cpp: Fix pragmas.
--
This fixes an error with -Werror=unknown-pragmas
---
lang/cpp/src/context.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp
index 34d0efc..1121104 100644
--- a/lang/cpp/src/context.cpp
+++ b/lang/cpp/src/context.cpp
@@ -699,7 +699,7 @@ Error Context::startPasswd(const Key &key)
}
-#pragma GCC push_diagnostics
+#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
Error Context::edit(const Key &key, std::unique_ptr<EditInteractor> func, Data &data)
@@ -759,7 +759,7 @@ Error Context::startCardEditing(const Key &key, std::unique_ptr<EditInteractor>
dp ? dp->data : 0));
}
-#pragma GCC pop_diagnostics
+#pragma GCC diagnostic pop
EditInteractor *Context::lastCardEditInteractor() const
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list