]> git.proxmox.com Git - mirror_qemu.git/commitdiff
build-sys: drop needless warning pragmas for old pixman
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 25 Oct 2023 12:04:45 +0000 (16:04 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Nov 2023 10:04:24 +0000 (14:04 +0400)
Since commit 236f282c1c7 ("configure: check for pixman-1 version"), QEMU
requires >= 0.21.8.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
include/ui/qemu-pixman.h

index d37feb5e3ce97740f9da1dce0f0bce821aef8fce..4bfa8fae0c51cfc5fd2a72e348a4d6aa9a0247e0 100644 (file)
@@ -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 <pixman.h>
-#pragma GCC diagnostic pop
 #endif
 
 /*