RESOLVED FIXED266164
REGRESSION(271781@main): dom/DocumentMarkerController.cpp(788,45): error: format specifies type 'unsigned short' but the argument has type 'Type' [-Werror,-Wformat]
https://bugs.webkit.org/show_bug.cgi?id=266164
Summary REGRESSION(271781@main): dom/DocumentMarkerController.cpp(788,45): error: for...
Fujii Hironori
Reported 2023-12-09 20:48:04 PST
clang-cl 17.0.5 can't compile Windows port Debug after 271781@main (bug#266003). In file included from C:\PSDEV\gc\WebKitBuild\Debug\WebCore\DerivedSources\unified-sources\UnifiedSource-be65d27a-7.cpp:8: C:\PSDEV\gc\Source\WebCore\dom/DocumentMarkerController.cpp(788,45): error: format specifies type 'unsigned short' but the argument has type 'Type' [-Werror,-Wformat] 788 | fprintf(stderr, " %hu:[%d:%d]", marker.type(), marker.startOffset(), marker.endOffset()); | ~~~ ^~~~~~~~~~~~~ | static_cast<uint16_t>( ) 1 error generated.
Attachments
Fujii Hironori
Comment 1 2023-12-09 21:04:15 PST
GTK buildbot is also has the compiler warning, but not fails due to --no-fatal-warnings. Buildbot: builder GTK-Linux-64-bit-Debug-Build build 52442 https://build.webkit.org/#/builders/43/builds/52442 /app/webkit/Source/WebCore/dom/DocumentMarkerController.cpp:788:33: warning: format ‘%hu’ expects argument of type ‘int’, but argument 3 has type ‘WebCore::DocumentMarker::Type’ [-Wformat=]
Fujii Hironori
Comment 2 2023-12-09 21:12:34 PST
EWS
Comment 3 2023-12-09 21:15:26 PST
Committed 271825@main (cc8a442ad6dd): <https://commits.webkit.org/271825@main> Reviewed commits have been landed. Closing PR #21584 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2023-12-09 21:16:16 PST
Note You need to log in before you can comment on or make changes to this bug.