mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-23 01:18:13 +02:00
Every .c file in RDP-backend hits this:
cc -Ilibweston/backend-rdp/rdp-backend.so.p -Ilibweston/backend-rdp
-I../../git/weston/libweston/backend-rdp -I. -I../../git/weston
-Iinclude -I../../git/weston/include -Ilibweston
-I../../git/weston/libweston -I/home/pq/local/include
-I/usr/include/pixman-1
-I/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/
-I/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3
-I/usr/include/libdrm -fdiagnostics-color=always
-fsanitize=address,undefined -fno-omit-frame-pointer
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror
-std=gnu11 -O0 -g -Wmissing-prototypes -Wno-unused-parameter
-Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic
-Wundef -fvisibility=hidden -Wmissing-prototypes -Wno-unused-parameter
-Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic
-Wundef -fvisibility=hidden -fPIC -MD -MQ
libweston/backend-rdp/rdp-backend.so.p/rdp.c.o -MF
libweston/backend-rdp/rdp-backend.so.p/rdp.c.o.d -o
libweston/backend-rdp/rdp-backend.so.p/rdp.c.o -c
../../git/weston/libweston/backend-rdp/rdp.c
In file included from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/client/rdpgfx.h:28,
from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/gdi/gdi.h:34,
from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:35,
from ../../git/weston/libweston/backend-rdp/rdp.h:32,
from ../../git/weston/libweston/backend-rdp/rdp.c:37:
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/codecs.h:93:9: error: ‘codecs_free’ is deprecated: [since 3.6.0] Use freerdp_client_codecs_free [-Werror=deprecated-declarations]
93 | WINPR_DEPRECATED_VAR("[since 3.6.0] Use freerdp_client_codecs_new",
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/winpr.h:22,
from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/stream.h:26,
from /usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:25:
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/codecs.h:91:47: note: declared here
91 | FREERDP_API void codecs_free(rdpCodecs* codecs));
| ^~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/platform.h:497:41: note: in definition of macro ‘WINPR_DEPRECATED_VAR’
497 | #define WINPR_DEPRECATED_VAR(text, obj) obj __attribute__((deprecated(text)))
| ^~~
cc1: all warnings being treated as errors
Looks like there is a magic define that fixes this, as we are not using
the deprecated things to begin with.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
|
||
|---|---|---|
| .. | ||
| backend-drm | ||
| backend-headless | ||
| backend-pipewire | ||
| backend-rdp | ||
| backend-vnc | ||
| backend-wayland | ||
| backend-x11 | ||
| color-lcms | ||
| desktop | ||
| perfetto | ||
| renderer-gl | ||
| renderer-vulkan | ||
| shell-utils | ||
| animation.c | ||
| auth.c | ||
| backend.h | ||
| bindings.c | ||
| clipboard.c | ||
| color-management.c | ||
| color-management.h | ||
| color-noop.c | ||
| color-operations.c | ||
| color-operations.h | ||
| color-profile-param-builder.c | ||
| color-properties.c | ||
| color-properties.h | ||
| color.c | ||
| color.h | ||
| compositor.c | ||
| content-protection.c | ||
| data-device.c | ||
| drm-formats.c | ||
| git-version.h.meson | ||
| id-number-allocator.c | ||
| id-number-allocator.h | ||
| input.c | ||
| launcher-impl.h | ||
| launcher-libseat.c | ||
| launcher-util.c | ||
| launcher-util.h | ||
| libinput-device.c | ||
| libinput-device.h | ||
| libinput-seat.c | ||
| libinput-seat.h | ||
| libweston-internal.h | ||
| linux-dmabuf.c | ||
| linux-dmabuf.h | ||
| linux-explicit-synchronization.c | ||
| linux-explicit-synchronization.h | ||
| linux-sync-file-uapi.h | ||
| linux-sync-file.c | ||
| linux-sync-file.h | ||
| log.c | ||
| meson.build | ||
| noop-renderer.c | ||
| output-capture.c | ||
| output-capture.h | ||
| pixel-formats.c | ||
| pixel-formats.h | ||
| pixman-renderer.c | ||
| pixman-renderer.h | ||
| plugin-registry.c | ||
| renderer-borders.c | ||
| renderer-borders.h | ||
| screenshooter.c | ||
| spring-tool.c | ||
| timeline-perfetto.c | ||
| timeline.c | ||
| timeline.h | ||
| touch-calibration.c | ||
| vertex-clipping.c | ||
| vertex-clipping.h | ||
| weston-direct-display.c | ||
| weston-log-file.c | ||
| weston-log-flight-rec.c | ||
| weston-log-internal.h | ||
| weston-log-wayland.c | ||
| weston-log.c | ||
| weston-trace.h | ||