Re: [PATCH 00/35] Use more of GLib's macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-10-15 at 10:53 +0200, Ján Tomko wrote:
> On Tue, Oct 15, 2019 at 10:40:35AM +0200, Michal Privoznik wrote:
> > I've identified other macros of ours that might be worth converting too:
> > 
> >  ATTRIBUTE_FALLTHROUGH
> 
> G_GNUC_FALLTHROUGH was introduced in GLib 2.60 so not yet
> 
> >  ATTRIBUTE_NOINLINE
> 
> G_GNUC_NO_INLINE was introduced by GLib 2.58

We should convert our code to use the GLib variant, and define it
ourself when it's not present; once our minimum required GLib version
has been increased appropriately, we can simply drop our definitions.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux