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
Reported 2024-01-29 17:41:27 PST
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
Fujii Hironori
Comment 1 2024-01-29 17:53:37 PST
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
Comment 2 2024-01-29 17:57:00 PST
Mac port too. Buildbot: builder Apple-Sonoma-Debug-Build build 3986 https://build.webkit.org/#/builders/928/builds/3986
Fujii Hironori
Comment 3 2024-01-29 21:12:41 PST
*** This bug has been marked as a duplicate of bug 268352 ***
Note You need to log in before you can comment on or make changes to this bug.