WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
261725
[PlayStation][Debug] Build fix after
268047@main
https://bugs.webkit.org/show_bug.cgi?id=261725
Summary
[PlayStation][Debug] Build fix after 268047@main
Yousuke Kimoto
Reported
2023-09-19 01:27:44 PDT
With "debug" build, an "unused function" was detected as follows: 19>ThreadingPOSIX.cpp 19>Source\WTF\wtf\posix\ThreadingPOSIX.cpp(268,12): error : unused function 'schedPolicy' [-Werror,-Wunused-function] 19>static int schedPolicy(Thread::SchedulingPolicy schedulingPolicy)
https://github.com/WebKit/WebKit/commit/3468951fe890ae71911f72a444617be38c39c14f
added schedPolicy(), which seems to need to be defined with HAVE_SCHEDULING_POLICIES because the caller is implemented with HAVE(SCHEDULING_POLICIES).
>#if HAVE(SCHEDULING_POLICIES) > pthread_attr_setschedpolicy(&attr, schedPolicy(schedulingPolicy)); >#endif
To fix this build break, adding a macro condition for 'schedPolicy()'.
Attachments
Add attachment
proposed patch, testcase, etc.
Yousuke Kimoto
Comment 1
2023-09-19 02:17:44 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/17904
EWS
Comment 2
2023-09-19 23:55:48 PDT
Committed
268183@main
(2e5b79e639b0): <
https://commits.webkit.org/268183@main
> Reviewed commits have been landed. Closing PR #17904 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-09-19 23:56:17 PDT
<
rdar://problem/115769010
>
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