Bug 252143

Summary: Fix TestWebKitAPI build when including WKFeature.h
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit2Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Kilzer (:ddkilzer)
Reported 2023-02-12 20:06:46 PST
Fix TestWebKitAPI build when including WKFeature.h. Seen in these EWS builds: <https://ews-build.webkit.org/#/builders/43/builds/40334> <https://ews-build.webkit.org/#/builders/85/builds/7733> ``` In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:26: In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/Tools/TestWebKitAPI/config.h:69: In file included from /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WebKit2_C.h:40: /Volumes/Data/worker/macOS-BigSur-Release-Build-EWS/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WKFeature.h:34:38: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] WK_EXPORT WKTypeID WKFeatureGetTypeID(); ^ void 1 error generated. ```
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-12 20:07:06 PST
David Kilzer (:ddkilzer)
Comment 2 2023-02-12 20:11:08 PST
EWS
Comment 3 2023-02-12 21:15:27 PST
Committed 260176@main (be80c071ab73): <https://commits.webkit.org/260176@main> Reviewed commits have been landed. Closing PR #10008 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.