Displaying 2 results from an estimated 2 matches for "a15ea053e".
2019 Aug 29
0
[PATCH] p2v: Ignore gtk2 deprecated declarations.
...from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gui.c:82:
/usr/include/glib-2.0/gobject/gtype.h:677:1: note: declared here
677 | {
| ^
---
p2v/gui.c | 1 +
p2v/main.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/p2v/gui.c b/p2v/gui.c
index 32c56dda7..a15ea053e 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -76,6 +76,7 @@
/* errors in <gtk.h> */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#if defined(__GNUC__) && __GNUC__ >=...
2019 Aug 29
2
[PATCH] p2v: Ignore gtk2 deprecated declarations.
This patch is against libguestfs's old copy of p2v, but the same patch
ought to also apply against virt-p2v.
Rich.