Re: [RFC PATCH] meson: Run some compiler checks using -Wno-unused-value

2024-12-12 Thread Philippe Mathieu-Daudé
On 12/12/24 10:15, Daniel P. Berrangé wrote: On Thu, Dec 12, 2024 at 12:16:55AM +0100, Philippe Mathieu-Daudé wrote: When running Clang static analyzer on macOS I'm getting: snip Fix by explicitly disabling -Wunused-value from these meson checks. Signed-off-by: Philippe Mathieu-Daudé ---

Re: [RFC PATCH] meson: Run some compiler checks using -Wno-unused-value

2024-12-12 Thread Daniel P . Berrangé
On Thu, Dec 12, 2024 at 12:16:55AM +0100, Philippe Mathieu-Daudé wrote: > When running Clang static analyzer on macOS I'm getting: snip > Fix by explicitly disabling -Wunused-value from these meson checks. > > Signed-off-by: Philippe Mathieu-Daudé > --- > RFC: Probably meson should do that in

[RFC PATCH] meson: Run some compiler checks using -Wno-unused-value

2024-12-11 Thread Philippe Mathieu-Daudé
When running Clang static analyzer on macOS I'm getting: include/qemu/osdep.h:634:8: error: redefinition of 'iovec' 634 | struct iovec { |^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_iovec_t.h:31:8: note: previous definition is here 3