From: Marc-André Lureau Date: Wed, 25 Oct 2023 12:04:45 +0000 (+0400) Subject: build-sys: drop needless warning pragmas for old pixman X-Git-Tag: qemu-xen-4.20.0~437^2~23 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ce59c54c4927d22e7d564f68f29c697d77ba9b86;p=qemu-xen.git build-sys: drop needless warning pragmas for old pixman Since commit 236f282c1c7 ("configure: check for pixman-1 version"), QEMU requires >= 0.21.8. Suggested-by: Thomas Huth Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index d37feb5e3c..4bfa8fae0c 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -7,11 +7,7 @@ #define QEMU_PIXMAN_H #ifdef CONFIG_PIXMAN -/* pixman-0.16.0 headers have a redundant declaration */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wredundant-decls" #include -#pragma GCC diagnostic pop #endif /*