[Webkit-unassigned] [Bug 261725] New: [PlayStation][Debug] Build fix after 268047 at main

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 19 01:27:44 PDT 2023


            Bug ID: 261725
           Summary: [PlayStation][Debug] Build fix after 268047 at main
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Yousuke.Kimoto at sony.com

With "debug" build, an "unused function" was detected as follows:

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).

>    pthread_attr_setschedpolicy(&attr, schedPolicy(schedulingPolicy));

To fix this build break, adding a macro condition for 'schedPolicy()'.

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/20230919/a46e9ca4/attachment.htm>

More information about the webkit-unassigned mailing list