On Fri, Oct 18, 2019 at 10:16:50 +0200, Michal Privoznik wrote: > With glib inclusion, some of its functions have > __attribute__((__malloc__)) which make compiler realize we want > to use the same attribute for some trivial functions of ours. For > instance qemuDomainManagedSavePath(). I don't see any real > benefit into using the attribute, so disable that suggestion. > > In fact, wrong use of the attribute may lead to mysterious bugs: > > https://gitlab.gnome.org/GNOME/glib/issues/1465 > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > m4/virt-compile-warnings.m4 | 1 + > 1 file changed, 1 insertion(+) ACK -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list