Workaround for int-conversion:
| In file included from ../recipe-sysroot/usr/include/glib-2.0/glib.h:64,
|                  from 
../recipe-sysroot/usr/include/glib-2.0/gobject/gbinding.h:30,
|                  from ../recipe-sysroot/usr/include/glib-2.0/glib-object.h:24,
|                  from src/gnome-boxes.p/libvirt-broker.c:6:
| src/gnome-boxes.p/libvirt-broker.c: In function 
'boxes_libvirt_broker_add_domain_co':
| ../recipe-sysroot/usr/include/glib-2.0/glib/gmessages.h:671:16: error: 
returning 'void *' from a function with return type 'gboolean' {aka 'int'} 
makes integer from pointer without a cast [-Wint-conversion]

Signed-off-by: Markus Volk <f_...@t-online.de>
---
 .../recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb               | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb
 
b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb
index 9ad15d57a..6272065de 100644
--- 
a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb
+++ 
b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_46.1.bb
@@ -36,6 +36,8 @@ SRC_URI[archive.sha256sum] = 
"900c177f6762640370a6634cf9e7d3cd8207e498367a8a667a
 GIR_MESON_OPTION = ""
 VALA_MESON_OPTION = ""
 
+CFLAGS += "-Wno-int-conversion"
+
 FILES:${PN} += "${datadir}"
 
 INSANE_SKIP:${PN} = "dev-deps"
-- 
2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110449): 
https://lists.openembedded.org/g/openembedded-devel/message/110449
Mute This Topic: https://lists.openembedded.org/mt/106227869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to