qemu/ui
Philippe Mathieu-Daudé 9cf6e41fe2 ui/cocoa: Temporarily ignore annoying deprecated declaration warnings
These warnings are breaking some build configurations since 2 months
now (https://gitlab.com/qemu-project/qemu/-/issues/2575):

  ui/cocoa.m:662:14: error: 'CVDisplayLinkCreateWithCGDisplay' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)  [-Werror,-Wdeprecated-declarations]
    662 |         if (!CVDisplayLinkCreateWithCGDisplay(display, &displayLink)) {
        |              ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:89:20: note: 'CVDisplayLinkCreateWithCGDisplay' has been explicitly marked deprecated here
     89 | CV_EXPORT CVReturn CVDisplayLinkCreateWithCGDisplay(
        |                    ^
  ui/cocoa.m:663:29: error: 'CVDisplayLinkGetNominalOutputVideoRefreshPeriod' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)  [-Werror,-Wdeprecated-declarations]
    663 |             CVTime period = CVDisplayLinkGetNominalOutputVideoRefreshPeriod(displayLink);
        |                             ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:182:18: note: 'CVDisplayLinkGetNominalOutputVideoRefreshPeriod' has been explicitly marked deprecated here
    182 | CV_EXPORT CVTime CVDisplayLinkGetNominalOutputVideoRefreshPeriod( CVDisplayLinkRef CV_NONNULL displayLink );
        |                  ^
  ui/cocoa.m:664:13: error: 'CVDisplayLinkRelease' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)  [-Werror,-Wdeprecated-declarations]
    664 |             CVDisplayLinkRelease(displayLink);
        |             ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:249:16: note: 'CVDisplayLinkRelease' has been explicitly marked deprecated here
    249 | CV_EXPORT void CVDisplayLinkRelease( CV_RELEASES_ARGUMENT CVDisplayLinkRef CV_NULLABLE displayLink );
        |                ^
  3 errors generated.

For the next release, ignore the warnings using #pragma directives.
At least until we figure the correct new API usage.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Phil Dennis-Jordan <phil@philjordan.eu>
Tested-by: Phil Dennis-Jordan <phil@philjordan.eu>
Message-Id: <20241121131954.98949-1-philmd@linaro.org>
2024-12-03 12:26:24 +01:00
..
icons
shader
clipboard.c ui/vdagent: notify clipboard peers of serial reset 2024-07-22 12:47:28 +04:00
cocoa.m ui/cocoa: Temporarily ignore annoying deprecated declaration warnings 2024-12-03 12:26:24 +01:00
console-gl.c
console-priv.h
console-vc-stubs.c
console-vc.c ui/console-vc: Silence warning about sprintf() on OpenBSD 2024-10-21 22:40:47 +03:00
console.c ui: refactor using a common qemu_pixman_shareable 2024-10-14 17:34:09 +04:00
curses.c meson.build: Remove ncurses workaround for OpenBSD 2024-10-21 22:40:47 +03:00
curses_keys.h
cursor.c ui/cursor: remove cursor_get_mono_image 2024-10-03 17:26:06 +03:00
cursor_hidden.xpm
cursor_left_ptr.xpm
dbus-chardev.c
dbus-clipboard.c ui: add more tracing for dbus 2024-07-22 12:47:28 +04:00
dbus-console.c ui/dbus: do not limit to one listener per connection / bus name 2024-10-14 17:34:09 +04:00
dbus-display1.xml ui/dbus: add Listener.Unix.Map interface XML 2024-10-14 17:34:09 +04:00
dbus-error.c
dbus-listener.c ui: refactor using a common qemu_pixman_shareable 2024-10-14 17:34:09 +04:00
dbus-module.c
dbus.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
dbus.h
dmabuf.c
egl-context.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
egl-headless.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
egl-helpers.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
gtk-clipboard.c
gtk-egl.c
gtk-gl-area.c
gtk.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
input-barrier.c
input-barrier.h
input-keymap.c
input-legacy.c ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function 2024-11-08 11:06:42 +01:00
input-linux.c
input.c vl.c: Remove pxa2xx-specific -portrait and -rotate options 2024-10-15 15:16:17 +01:00
kbd-state.c
keymaps.c
keymaps.h
meson.build
qemu-pixman.c ui: refactor using a common qemu_pixman_shareable 2024-10-14 17:34:09 +04:00
qemu-x509.h
qemu.desktop
sdl2-2d.c
sdl2-gl.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
sdl2-input.c ui/sdl2: release all modifiers 2024-09-13 20:12:16 +02:00
sdl2.c ui/sdl2: set swap interval explicitly when OpenGL is enabled 2024-09-13 20:12:16 +02:00
shader.c
spice-app.c
spice-core.c qapi/ui: Drop temporary 'prefix' 2024-09-10 13:22:47 +02:00
spice-display.c
spice-input.c
spice-module.c
trace-events ui/dbus: add trace for can_share_map 2024-10-14 17:34:09 +04:00
trace.h
udmabuf.c
ui-hmp-cmds.c
ui-qmp-cmds.c
util.c
vdagent.c ui/vdagent: send caps on fe_open 2024-07-22 12:47:28 +04:00
vgafont.h
vnc-auth-sasl.c ui: validate NUL byte padding in SASL client data more strictly 2024-10-22 13:02:31 +01:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-clipboard.c
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle.c
vnc-enc-zrle.c.inc
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-stubs.c
vnc-ws.c
vnc-ws.h
vnc.c ui/vnc: fix skipping SASL SSF on UNIX sockets 2024-10-22 11:44:23 +01:00
vnc.h ui/vnc: fix skipping SASL SSF on UNIX sockets 2024-10-22 11:44:23 +01:00
vnc_keysym.h
win32-kbd-hook.c
x_keymap.c
x_keymap.h