Bug 268351
Summary: | REGRESSION(273705@main): DocumentMarkerController.cpp(788,45): error: format specifies type 'unsigned long' but the argument has type 'std::underlying_type_t<Type>' (aka 'unsigned int') | ||
---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | richard_robinson2 |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Fujii Hironori
After 273705@main, Windows Debug build can't compile
In file included from C:\webkit\WebKitBuild\Debug\WebCore\DerivedSources\unified-sources\UnifiedSource-be65d27a-7.cpp:8:
C:\webkit\Source\WebCore\dom/DocumentMarkerController.cpp(788,45): error: format specifies type 'unsigned long' but the argument has type 'std::underlying_type_t<Type>' (aka 'unsigned int') [-Werror,-Wformat]
788 | fprintf(stderr, " %lu:[%d:%d]", enumToUnderlyingType(marker.type()), marker.startOffset(), marker.endOffset());
| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %u
1 error generated.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Fujii Hironori
iOS port also breaks.
Buildbot: builder Apple-iOS-17-Simulator-Debug-Build build 3688
https://build.webkit.org/#/builders/946/builds/3688
> /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Source/WebCore/dom/DocumentMarkerController.cpp:788:45: error: format specifies type 'unsigned long' but the argument has type 'std::underlying_type_t<Type>' (aka 'unsigned int') [-Werror,-Wformat]
Fujii Hironori
Mac port too.
Buildbot: builder Apple-Sonoma-Debug-Build build 3986
https://build.webkit.org/#/builders/928/builds/3986
Fujii Hironori
*** This bug has been marked as a duplicate of bug 268352 ***