Bug 252449
| Summary: | [GCC] Ubuntu 20.04 build error after 260367@main | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=244568 | ||
Diego Pino
The WebKitGTK Ubuntu 20.04 build bot is failing with the following error:
```
error: could not convert ‘context.WebCore::WebGLExtensionScopedContext::operator->()->WebCore::WebGLRenderingContextBase::graphicsContextGL()->WebCore::GraphicsContextGL::getQueryObjectui64EXT((& query)->WebCore::WebGLTimerQueryEXT::<anonymous>.WebCore::WebGLContextObject::<anonymous>.WebCore::WebGLObject::object(), pname)’ from ‘GCGLuint64’ {aka ‘long unsigned int’} to ‘WebCore::WebGLAny’ {aka ‘std::variant<std::nullptr_t, bool, int, unsigned int, long long int, long long unsigned int, float, WTF::String, WTF::Vector<bool, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>, WTF::Vector<int, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>
```
This bug is similar to https://bugs.webkit.org/show_bug.cgi?id=244568. In this case, since WebGLAny doesn't support "long unsigned" it's necessary to do an explicit static cast to "long long unsigned" (supported by WebGLAny).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/10246
EWS
Committed 260428@main (a436f19b905c): <https://commits.webkit.org/260428@main>
Reviewed commits have been landed. Closing PR #10246 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/105583905>