Bug 262098
Summary: | [Win] Fix unused parameter warnings reported by clang-cl | ||
---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> |
Component: | New Bugs | Assignee: | Fujii Hironori <Hironori.Fujii> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Fujii Hironori
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]
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Pull request: https://github.com/WebKit/WebKit/pull/18209
EWS
Committed 268434@main (6cc3f85ca0cf): <https://commits.webkit.org/268434@main>
Reviewed commits have been landed. Closing PR #18209 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/116038874>