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

2019-10-15 Thread Andrea Bolognani
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 > > >

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

2019-10-15 Thread Ján Tomko
On Tue, Oct 15, 2019 at 10:40:35AM +0200, Michal Privoznik wrote: On 10/14/19 3:15 PM, Ján Tomko wrote: We do not need to define MIN and MAX if we include glib.h and it also provides some macros for __attribute__'s Ján Tomko (35): util: remove MIN and MAX macros apibuild: ignore GLib macros

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

2019-10-15 Thread Michal Privoznik
On 10/14/19 3:15 PM, Ján Tomko wrote: We do not need to define MIN and MAX if we include glib.h and it also provides some macros for __attribute__'s Ján Tomko (35): util: remove MIN and MAX macros apibuild: ignore GLib macros too use G_GNUC_NORETURN instead of ATTRIBUTE_NORETURN use

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

2019-10-14 Thread Ján Tomko
We do not need to define MIN and MAX if we include glib.h and it also provides some macros for __attribute__'s Ján Tomko (35): util: remove MIN and MAX macros apibuild: ignore GLib macros too use G_GNUC_NORETURN instead of ATTRIBUTE_NORETURN use G_GNUC_NULL_TERMINATED instead of ATTRIBUTE_