Bug 268351 - 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')
Summary: REGRESSION(273705@main): DocumentMarkerController.cpp(788,45): error: format ...
Status: RESOLVED DUPLICATE of bug 268352
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 17:41 PST by Fujii Hironori
Modified: 2024-01-29 21:12 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 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.
Comment 1 Fujii Hironori 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]
Comment 2 Fujii Hironori 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
Comment 3 Fujii Hironori 2024-01-29 21:12:41 PST

*** This bug has been marked as a duplicate of bug 268352 ***