Re: [libvirt] [PATCH] Prefix major/minor with gnu_dev_

2016-09-06 Thread Andrea Bolognani
On Mon, 2016-09-05 at 14:47 +0100, Daniel P. Berrange wrote: > On Mon, Sep 05, 2016 at 03:33:36PM +0200, Michal Privoznik wrote: > >  > > In the latest glibc, major() and minor() functions are marked as > > deprecated (glibc commit dbab6577): > >  > >   CC   util/libvirt_util_la-vircgroup.lo >

Re: [libvirt] [PATCH] Prefix major/minor with gnu_dev_

2016-09-05 Thread Daniel P. Berrange
On Mon, Sep 05, 2016 at 03:33:36PM +0200, Michal Privoznik wrote: > In the latest glibc, major() and minor() functions are marked as > deprecated (glibc commit dbab6577): > > CC util/libvirt_util_la-vircgroup.lo > util/vircgroup.c: In function 'virCgroupGetBlockDevString': > util/vircgroup

[libvirt] [PATCH] Prefix major/minor with gnu_dev_

2016-09-05 Thread Michal Privoznik
In the latest glibc, major() and minor() functions are marked as deprecated (glibc commit dbab6577): CC util/libvirt_util_la-vircgroup.lo util/vircgroup.c: In function 'virCgroupGetBlockDevString': util/vircgroup.c:768:5: error: '__major_from_sys_types' is deprecated: In the GNU C Librar