WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250701
webkit2 public header include error
https://bugs.webkit.org/show_bug.cgi?id=250701
Summary
webkit2 public header include error
Thomas Devoogdt
Reported
2023-01-17 00:36:13 PST
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." | ^~~~~
Attachments
Add attachment
proposed patch, testcase, etc.
EWS
Comment 1
2023-01-17 00:56:52 PST
Committed
258974@main
(9fe47e98a7f3): <
https://commits.webkit.org/258974@main
> Reviewed commits have been landed. Closing PR #8713 and removing active labels.
EWS
Comment 2
2023-01-17 05:46:45 PST
Committed
258976@main
(8f11ad0813c3): <
https://commits.webkit.org/258976@main
> Reviewed commits have been landed. Closing PR #8718 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug