[Webkit-unassigned] [Bug 250701] New: webkit2 public header include error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 00:36:13 PST 2023


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

            Bug ID: 250701
           Summary: webkit2 public header include error
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: thomas.devoogdt at gmail.com
                CC: bugs-noreply at webkitgtk.org

Since commit 654646fe6187abcf9ced6a3ace80eaf04754fd39, the webkit.h file is generated
and does only define __WEBKIT_H_INSIDE__. So replace the only remaining __WEBKIT2_H_INSIDE__
defines to avoid any "Only <webkit2/webkit2.h> can be included directly." error.

In file included from /home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit2/webkit2.h:81,
                 from /home/thomas/buildroot/output/build/barco-browser-304bc1b4a82ff20e7c5e2ab8eaf1cd2611812efe/main.c:14:
/home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit/WebKitURISchemeResponse.h:21:2: error: #error "Only <webkit2/webkit2.h> can be included directly."
   21 | #error "Only <webkit2/webkit2.h> can be included directly."
      |  ^~~~~

-- 
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/20230117/0d480c7f/attachment.htm>


More information about the webkit-unassigned mailing list