[Webkit-unassigned] [Bug 262098] New: [Win] Fix unused parameter warnings reported by clang-cl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 25 23:09:50 PDT 2023


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

            Bug ID: 262098
           Summary: [Win] Fix unused parameter warnings reported by
                    clang-cl
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

Windows port suppresses this warning by setting /wd4100 compiler switch.
However, the combination of CMake Visual Studio generator and clang-cl ignores the switch.
clang-cl reports a lot of unused parameter warnings.

> Source\WebCore\platform/StaticPasteboard.cpp(143,58): error: unused parameter 'content' [-Werror,-Wunused-parameter]

-- 
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/20230926/8206ab32/attachment.htm>


More information about the webkit-unassigned mailing list