[Webkit-unassigned] [Bug 253141] New: [CMake][WPE] Wayland scanner uses deprecated "code" parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 1 01:29:52 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253141

            Bug ID: 253141
           Summary: [CMake][WPE] Wayland scanner uses deprecated "code"
                    parameter
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

When building the WPE port, the following warnings are shown by wayland-scanner:

  [1874/12858] Generating ../../../WPEToolingBackends/DerivedSources/xdg-shell-protocol.c
  Using "code" is deprecated - use private-code or public-code.
  See the help page for details.
  [1875/12858] Generating ../../../WPEToolingBackends/DerivedSources/xdg-shell-unstable-v6-protocol.c
  Using "code" is deprecated - use private-code or public-code.
  See the help page for details.

These warnings were introduced in Wayland 1.15.0, we should be using "private-code"
instead (like the GTK port does). Debian 10 has version 1.17, and Ubuntu 20.04 LTS
has version 1.20; therefore we can require version >=1.15—no need for using one
parameter or the other depending on the version.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230301/3c02a455/attachment.htm>


More information about the webkit-unassigned mailing list