Re: [PATCH] meson.build: Fix glib -Wno-unused-function workaround

2023-05-25 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH] meson.build: Fix glib -Wno-unused-function workaround

2023-05-24 Thread Philippe Mathieu-Daudé
On 24/5/23 19:31, Nicolas Saenz Julienne wrote: We want to only enable '-Wno-unused-function' if glib's version is smaller than '2.57.2' and has a G_DEFINE_AUTOPTR_CLEANUP_FUNC() implementation that doesn't take into account unused functions. But the compilation test isn't working as intended as

[PATCH] meson.build: Fix glib -Wno-unused-function workaround

2023-05-24 Thread Nicolas Saenz Julienne
We want to only enable '-Wno-unused-function' if glib's version is smaller than '2.57.2' and has a G_DEFINE_AUTOPTR_CLEANUP_FUNC() implementation that doesn't take into account unused functions. But the compilation test isn't working as intended as '-Wunused-function' isn't enabled while running it