[med-svn] [aghermann] 46/85: correctly order #pragma push when ignoring a -Wformat ("%a")
andrei zavada
hmmr-guest at alioth.debian.org
Thu Sep 26 23:46:29 UTC 2013
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch master
in repository aghermann.
commit 49988068d437374b84f60b91d95dc7a30bfe6b34
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Wed Sep 18 19:22:06 2013 +0300
correctly order #pragma push when ignoring a -Wformat ("%a")
---
upstream/src/aghermann/ui/mw/mw.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upstream/src/aghermann/ui/mw/mw.cc b/upstream/src/aghermann/ui/mw/mw.cc
index 0a85114..be4b6cb 100644
--- a/upstream/src/aghermann/ui/mw/mw.cc
+++ b/upstream/src/aghermann/ui/mw/mw.cc
@@ -325,8 +325,8 @@ load_artifact_detection_profiles()
char *name = nullptr;
int int_estimate_E, int_use_range;
// at least gcc 4.7.2 fails to recognize "%as" (dynamic allocation), so
-#pragma GCC diagnostic ignored "-Wformat"
#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat"
if ( 16 ==
fscanf( domien, "%a[^\n]\n%la %la %la %la %la %la %la %la %la %la %la "
"%zu %zu %d %d",
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list