[libvirt] [libvirt-glib][PATCH] Use new GObject define macros with private

Michal Privoznik mprivozn at redhat.com
Fri Aug 10 11:03:05 UTC 2018


On 08/10/2018 11:38 AM, Daniel P. Berrangé wrote:
> On Fri, Aug 10, 2018 at 11:29:30AM +0200, Michal Privoznik wrote:
>> G_ADD_PRIVATE was added in 2.38 and older functions are getting deprecated:
>> https://gitlab.gnome.org/GNOME/glib/merge_requests/7/commits
> 
> Our min glib2 version is currently 2.36, since that's what RHEL-7 has.

That's a bummer. But okay, I'll keep the patch in my local repo until
RHEL rebases. But this is breaking build in more modern distros (e.g.
Fedora rawhide).

Disabling warnings looks like a temporal workaround to me.

Michal




More information about the libvir-list mailing list