On Fri, Sep 19, 2025 at 10:36:12AM +0200, Paolo Bonzini wrote:
> linux-user is failing to compile on Fedora 43:
> 
> ../linux-user/strace.c:57:66: error: enum constant in boolean context 
> [-Werror=int-in-bool-context]
>    57 | #define FLAG_BASIC(V, M, N)      { V, M | 
> QEMU_BUILD_BUG_ON_ZERO(!(M)), N }
> 
> The warning does not seem to useful and we could even disable it, but
> the workaround is simple in this case.
> 
> Cc: [email protected]
> Cc: Richard Henderson <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  linux-user/strace.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to