You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
21 hours ago
..
icons configure: move directory options from config-host.mak to meson 4 years ago
shader meson: do not build shaders by default 1 year ago
clipboard.c ui/vdagent: notify clipboard peers of serial reset 4 months ago
cocoa.m ui/cocoa: Temporarily ignore annoying deprecated declaration warnings 21 hours ago
console-gl.c ui/console: remove redundant format field 1 year ago
console-priv.h ui/curses: Do not use console_select() 9 months ago
console-vc-stubs.c ui/curses: Do not use console_select() 9 months ago
console-vc.c ui/console-vc: Silence warning about sprintf() on OpenBSD 1 month ago
console.c ui: refactor using a common qemu_pixman_shareable 2 months ago
curses.c meson.build: Remove ncurses workaround for OpenBSD 1 month ago
curses_keys.h For curses display, recognize a few more control keys 1 year ago
cursor.c ui/cursor: remove cursor_get_mono_image 2 months ago
cursor_hidden.xpm
cursor_left_ptr.xpm
dbus-chardev.c ui/dbus: win32 support 1 year ago
dbus-clipboard.c ui: add more tracing for dbus 4 months ago
dbus-console.c ui/dbus: do not limit to one listener per connection / bus name 2 months ago
dbus-display1.xml ui/dbus: add Listener.Unix.Map interface XML 2 months ago
dbus-error.c ui: add a D-Bus display backend 3 years ago
dbus-listener.c ui: refactor using a common qemu_pixman_shareable 2 months ago
dbus-module.c ui/dbus: add p2p=on/off option 3 years ago
dbus.c qapi/ui: Drop temporary 'prefix' 3 months ago
dbus.h ui/dbus: win32 support 1 year ago
dmabuf.c ui/console: move QemuDmaBuf struct def to dmabuf.c 7 months ago
egl-context.c qapi/ui: Drop temporary 'prefix' 3 months ago
egl-headless.c qapi/ui: Drop temporary 'prefix' 3 months ago
egl-helpers.c qapi/ui: Drop temporary 'prefix' 3 months ago
gtk-clipboard.c Remove qemu-common.h include from most units 3 years ago
gtk-egl.c ui/console: Only declare variable fence_fd when CONFIG_GBM is defined 7 months ago
gtk-gl-area.c ui/console: Use qemu_dmabuf_set_..() helpers instead 7 months ago
gtk.c qapi/ui: Drop temporary 'prefix' 3 months ago
input-barrier.c ui/input-barrier: Move TODOs from barrier.txt to a comment 3 years ago
input-barrier.h ui: add an embedded Barrier client 5 years ago
input-keymap.c meson: rename included C source files to .c.inc 4 years ago
input-legacy.c ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function 4 weeks ago
input-linux.c ui: replace qemu_set_nonblock() 3 years ago
input.c vl.c: Remove pxa2xx-specific -portrait and -rotate options 2 months ago
kbd-state.c ui/vnc: Do not use console_select() 9 months ago
keymaps.c Remove qemu-common.h include from most units 3 years ago
keymaps.h ui: spelling fixes 1 year ago
meson.build Revert "meson: Propagate gnutls dependency" 5 months ago
qemu-pixman.c ui: refactor using a common qemu_pixman_shareable 2 months ago
qemu-x509.h
qemu.desktop ui: fix icon display for GTK frontend under GNOME Shell with Wayland 6 years ago
sdl2-2d.c ui+display: rename is_placeholder() -> surface_is_placeholder() 6 months ago
sdl2-gl.c qapi/ui: Drop temporary 'prefix' 3 months ago
sdl2-input.c ui/sdl2: release all modifiers 3 months ago
sdl2.c ui/sdl2: set swap interval explicitly when OpenGL is enabled 3 months ago
shader.c ui/shader: free associated programs 3 years ago
spice-app.c ui: use "vc" chardev for dbus, gtk & spice-app 1 year ago
spice-core.c qapi/ui: Drop temporary 'prefix' 3 months ago
spice-display.c ui/console: Convert mouse visibility parameter into bool 5 months ago
spice-input.c input: Allow to choose console with qemu_input_is_absolute 1 year ago
spice-module.c spice: wire up monitor in QemuSpiceOps. 4 years ago
trace-events ui/dbus: add trace for can_share_map 2 months ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
udmabuf.c Do not include "qemu/error-report.h" in headers that do not need it 2 years ago
ui-hmp-cmds.c qmp/hmp: disable screendump if PIXMAN is missing 1 year ago
ui-qmp-cmds.c ui/qmp-cmds: Improve two error messages 1 year ago
util.c include/hw/pci: Split pci_device.h off pci.h 2 years ago
vdagent.c ui/vdagent: send caps on fe_open 4 months ago
vgafont.h ui: fix tab indentation 2 years ago
vnc-auth-sasl.c ui: validate NUL byte padding in SASL client data more strictly 1 month ago
vnc-auth-sasl.h vnc: avoid deprecation warnings for SASL on OS X 4 years ago
vnc-auth-vencrypt.c vnc: fix resource leak when websocket channel error 4 years ago
vnc-auth-vencrypt.h
vnc-clipboard.c ui/vnc-clipboard: fix inflate_buffer 1 year ago
vnc-enc-hextile-template.h ui/vnc-enc-hextile: Use static rather than dynamic length stack array 1 year ago
vnc-enc-hextile.c Drop useless casts from g_malloc() & friends to pointer 2 years ago
vnc-enc-tight.c ui/vnc-enc-tight: Avoid dynamic stack allocation 1 year ago
vnc-enc-tight.h
vnc-enc-zlib.c vnc: fix memory leak when vnc disconnect 5 years ago
vnc-enc-zrle.c meson: rename included C source files to .c.inc 4 years ago
vnc-enc-zrle.c.inc ui: Clean up local variable shadowing 1 year ago
vnc-enc-zrle.h
vnc-enc-zywrle-template.c ui: fix tab indentation 2 years ago
vnc-enc-zywrle.h ui: spelling fixes 1 year ago
vnc-jobs.c vnc: move assert in vnc_worker_thread_loop 2 years ago
vnc-jobs.h ui/vnc: Drop unused vnc_has_job() and vnc_jobs_clear() 8 years ago
vnc-palette.c ui: Clean up local variable shadowing 1 year ago
vnc-palette.h Include qapi/qmp/qlist.h exactly where needed 7 years ago
vnc-stubs.c qemu-options: define -vnc only #ifdef CONFIG_VNC 1 year ago
vnc-ws.c bulk: Remove pointless QOM casts 2 years ago
vnc-ws.h
vnc.c ui/vnc: fix skipping SASL SSF on UNIX sockets 1 month ago
vnc.h ui/vnc: fix skipping SASL SSF on UNIX sockets 1 month ago
vnc_keysym.h ui: fix tab indentation 2 years ago
win32-kbd-hook.c ui/win32-kbd-hook: handle AltGr in a hook procedure 5 years ago
x_keymap.c ui: Fix memory leak in qemu_xkeymap_mapping_table() 4 years ago
x_keymap.h ui: convert GTK and SDL1 frontends to keycodemapdb 7 years ago