Re: [PATCH 19/41] compiler.h: replace QEMU_NORETURN with G_NORETURN

2022-04-20 Thread Daniel P . Berrangé
On Wed, Apr 20, 2022 at 05:26:02PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > G_NORETURN was introduced in glib 2.68, fallback to G_GNUC_NORETURN in > glib-compat. > > Note that this attribute must be placed before the function declaration > (bringing a bit of

Re: [PATCH 19/41] compiler.h: replace QEMU_NORETURN with G_NORETURN

2022-04-20 Thread Warner Losh
On Wed, Apr 20, 2022 at 7:28 AM wrote: > From: Marc-André Lureau > > G_NORETURN was introduced in glib 2.68, fallback to G_GNUC_NORETURN in > glib-compat. > > Note that this attribute must be placed before the function declaration > (bringing a bit of consistency in qemu codebase usage). > >

[PATCH 19/41] compiler.h: replace QEMU_NORETURN with G_NORETURN

2022-04-20 Thread marcandre . lureau
From: Marc-André Lureau G_NORETURN was introduced in glib 2.68, fallback to G_GNUC_NORETURN in glib-compat. Note that this attribute must be placed before the function declaration (bringing a bit of consistency in qemu codebase usage). Signed-off-by: Marc-André Lureau ---