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.