Bug 251594

Summary: [GTK] 2.38.4 fails to build
Product: WebKit Reporter: Hussam Al-Tayeb <ht990332>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, kkinnunen, mcatanzaro
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   

Description Hussam Al-Tayeb 2023-02-02 08:43:05 PST
While compiling webkit2gtk 2.38.4 using gcc 11.3 snapshot, I got: /home/hussam/cache/system/webkit2gtk/src/webkitgtk/Source/WebCore/html/HTMLInputElement.cpp:2031:36: error: invalid use of incomplete type ‘class WebCore::EventLoopTaskGroup’
2031 | m_element->document().eventLoop().queueTask(TaskSource::DOMManipulation, [element = m_element] {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/hussam/cache/system/webkit2gtk/src/webkitgtk/Source/WebCore/dom/ScriptExecutionContext.h:30,

Michael Catanzaro suggested adding #include "EventLoop.h" to the file that won't compile.
Comment 1 Hussam Al-Tayeb 2023-02-16 03:20:00 PST
2.38.5 builds fine.
Comment 2 Adrian Perez 2023-02-16 06:11:27 PST
(In reply to Hussam Al-Tayeb from comment #1)
> 2.38.5 builds fine.

Great, thanks for confirming =)