[Webkit-unassigned] [Bug 259314] New: ProcessThrottler.cpp: error: format specifies type 'unsigned int' but the argument has type 'ProcessAssertionType' [-Werror, -Wformat]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 18 13:43:13 PDT 2023


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

            Bug ID: 259314
           Summary: ProcessThrottler.cpp: error: format specifies type
                    'unsigned int' but the argument has type
                    'ProcessAssertionType' [-Werror,-Wformat]
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
        Depends on: 159188

```
In file included from BuiltProducts/DerivedSources/WebKit/unified-sources/UnifiedSource62.cpp:7:
 Source/WebKit/UIProcess/ProcessThrottler.cpp:175:144: error: format specifies type 'unsigned int' but the argument has type 'ProcessAssertionType' [-Werror,-Wformat]
  175 |     PROCESSTHROTTLER_RELEASE_LOG("setThrottleState: Updating process assertion type to %u (foregroundActivities=%u, backgroundActivities=%u)", newType, m_foregroundActivities.size(), m_backgroundActivities.size());
      |                                                                                        ~~                                                      ^~~~~~~
      |                                                                                        %d
     ...
1 error generated.
```

<rdar://111551983>


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=159188
[Bug 159188] Add some more UIProcess-side logging related to process assertions
-- 
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/20230718/224f2739/attachment.htm>


More information about the webkit-unassigned mailing list