[Webkit-unassigned] [Bug 281974] New: [WPE][CMake] Installed header contains ENABLE_WPE_PLATFORM guards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 23 06:35:30 PDT 2024


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

            Bug ID: 281974
           Summary: [WPE][CMake] Installed header contains
                    ENABLE_WPE_PLATFORM guards
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

Installed header “wpe/WebKitWebView.h” contains a guard of the form:

  #if (defined(ENABLE_WPE_PLATFORM) && ENABLE_WPE_PLATFORM)
  ...
  #endif

This is a partial evaluation of ENABLE(WPE_PLATFORM) which was supposed
to be handled completely when expanding WebKitWebView.in.h via unifdef.
This makes some functions like webkit_web_view_get_wpe_view() to be
undeclared, and building client code will warn about it, or even stop
compilation if using -Werror.

-- 
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/20241023/ee1ac85f/attachment.htm>


More information about the webkit-unassigned mailing list