| Summary: | ImageDiff.cpp(74): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 2 has type 'size_t' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||
| Component: | Tools / Tests | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | don.olmstead, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Fujii Hironori
2021-11-01 17:06:04 PDT
Created attachment 443037 [details]
Patch
Can we fix the style checker to catch this? (In reply to Simon Fraser (smfr) from comment #2) > Can we fix the style checker to catch this? The style checker doesn't compile, doesn't know the type of variable. AppleWin treats warning as error. But, unfortunately, it suppresses warnings introduced in Visual Studio 2013 (major version 18) and later. > add_compile_options(/WX /Wv:18) https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level Committed r285150 (243787@main): <https://commits.webkit.org/243787@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443037 [details]. |